//
// png_create_read_struct_2 from 0x6555f0 to 0x655632 (66 bytes)
//
// 1 xrefs:
// > png_create_read_struct @ 0x655640
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
_DWORD *__fastcall png_create_read_struct_2(int a1, int a2, int a3, int a4, int a5, int a6, int a7)
{
_DWORD *png_struct; // r0
_DWORD *v8; // r4
int v9; // r3
png_struct = png_create_png_struct(a1, a2, a3, a4, a5, a6, a7);
v8 = png_struct;
if ( png_struct )
{
v9 = png_struct[78] | 0x300000;
png_struct[77] = 0x8000;
png_struct[78] = v9;
png_struct[224] = 0x2000;
png_set_read_fn(png_struct, 0, 0);
}
return v8;
}