//
// png_create_read_struct_2 from 0xe49488 to 0xe494d8 (80 bytes)
//
// 2 xrefs:
// > png_create_read_struct @ 0xe494e4
// > ??> @ 0x100bd0
//
// 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:07 +0000
//
_DWORD *__fastcall png_create_read_struct_2(
__int64 a1,
__int64 a2,
__int64 a3,
__int64 a4,
__int64 a5,
__int64 a6,
__int64 a7)
{
_DWORD *png_struct; // x0
_DWORD *v8; // x19
int v9; // w3
png_struct = png_create_png_struct(a1, a2, a3, a4, a5, a6, a7);
v8 = png_struct;
if ( png_struct )
{
v9 = png_struct[90];
png_struct[89] = 0x8000;
png_struct[312] = 0x2000;
png_struct[90] = v9 | 0x300000;
png_set_read_fn(png_struct, 0, 0);
}
return v8;
}