//
// png_get_text from 0xe445a8 to 0xe445f0 (72 bytes)
//
// 1 xrefs:
// > ??> @ 0x102310
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 13:10:04 +0000
//
__int64 __fastcall png_get_text(__int64 a1, __int64 a2, _QWORD *a3, _DWORD *a4)
{
__int64 result; // x0
if ( a1 && a2 && (result = *(unsigned int *)(a2 + 148), (int)result > 0) )
{
if ( a3 )
*a3 = *(_QWORD *)(a2 + 160);
if ( a4 )
{
*a4 = result;
return *(unsigned int *)(a2 + 148);
}
}
else
{
if ( a4 )
*a4 = 0;
return 0;
}
return result;
}