<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.3dbrew.org/w/index.php?action=history&amp;feed=atom&amp;title=Talk%3APDN_Services</id>
	<title>Talk:PDN Services - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.3dbrew.org/w/index.php?action=history&amp;feed=atom&amp;title=Talk%3APDN_Services"/>
	<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=Talk:PDN_Services&amp;action=history"/>
	<updated>2026-05-26T14:15:11Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://www.3dbrew.org/w/index.php?title=Talk:PDN_Services&amp;diff=9186&amp;oldid=prev</id>
		<title>Ichfly: Created page with &quot;that is what the unknown functions do  pdn:g(u8 a0,u8 a1,u8 a2) { 	if((a1 | a2) &amp; ~a0) 	{ 		u32 temp = a0; 		if(!temp) temp = 0x10000; 		if(a2)*(u32*)(0x1ec41200) = (a1^0x1) | te...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.3dbrew.org/w/index.php?title=Talk:PDN_Services&amp;diff=9186&amp;oldid=prev"/>
		<updated>2014-06-22T08:05:15Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;that is what the unknown functions do  pdn:g(u8 a0,u8 a1,u8 a2) { 	if((a1 | a2) &amp;amp; ~a0) 	{ 		u32 temp = a0; 		if(!temp) temp = 0x10000; 		if(a2)*(u32*)(0x1ec41200) = (a1^0x1) | te...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;that is what the unknown functions do&lt;br /&gt;
&lt;br /&gt;
pdn:g(u8 a0,u8 a1,u8 a2)&lt;br /&gt;
{&lt;br /&gt;
	if((a1 | a2) &amp;amp; ~a0)&lt;br /&gt;
	{&lt;br /&gt;
		u32 temp = a0;&lt;br /&gt;
		if(!temp) temp = 0x10000;&lt;br /&gt;
		if(a2)*(u32*)(0x1ec41200) = (a1^0x1) | temp;&lt;br /&gt;
		else *(u32*)(0x1ec41200) = 0x7E | (a1^0x1)| temp;&lt;br /&gt;
		if(a1 | a2)&lt;br /&gt;
		{&lt;br /&gt;
			wait(4);&lt;br /&gt;
			*(u32*)(0x1ec41200) = 0x7F | temp;&lt;br /&gt;
		}&lt;br /&gt;
		return 1; //worked&lt;br /&gt;
	}&lt;br /&gt;
	else&lt;br /&gt;
	{&lt;br /&gt;
		return 0; //error Invalid argument&lt;br /&gt;
	}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
pdn:d(u8 a0,u8 a1,u8 a2)&lt;br /&gt;
{&lt;br /&gt;
	u8 temp = a0 &amp;amp; ~a2;&lt;br /&gt;
	if(temp)&lt;br /&gt;
	{&lt;br /&gt;
		*(u8*)(0x1ec41230) = (a1^0x1) | temp &amp;lt;&amp;lt; 1;&lt;br /&gt;
		if(a1 &amp;amp; a2)&lt;br /&gt;
		{&lt;br /&gt;
			wait(0x10);&lt;br /&gt;
			*(u8*)(0x1ec41230) = 0x1 | a0 &amp;lt;&amp;lt; 1;&lt;br /&gt;
		}&lt;br /&gt;
		return 1; //worked&lt;br /&gt;
	}&lt;br /&gt;
	else&lt;br /&gt;
	{&lt;br /&gt;
		return 0; //error Invalid argument&lt;br /&gt;
	}&lt;br /&gt;
}&lt;/div&gt;</summary>
		<author><name>Ichfly</name></author>
	</entry>
</feed>