//
// png_info_init_3 from 0x85d4f0 to 0x85d532 (66 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:41 +0000
//
void *__fastcall png_info_init_3(void **a1, unsigned int a2)
{
void *result; // r0
void **v4; // r4
result = *a1;
if ( result )
{
if ( a2 < 0x10C )
{
*a1 = nullptr;
v4 = a1;
free(result);
result = (void *)png_malloc_base(0, 0x10Cu);
*v4 = result;
}
return j_memset(result, 0, 0x10Cu);
}
return result;
}