//
// png_get_sPLT from 0x861c14 to 0x861c38 (36 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:02:43 +0000
//
int __fastcall png_get_sPLT(int a1, int a2, _DWORD *a3)
{
bool v3; // zf
char v4; // r3
int result; // r0
v3 = a2 == 0;
if ( a2 )
v3 = a3 == nullptr;
v4 = !v3;
if ( a1 )
result = v4 & 1;
else
result = 0;
if ( result )
{
*a3 = *(_DWORD *)(a2 + 244);
return *(_DWORD *)(a2 + 248);
}
return result;
}