// // png_handle_as_unknown from 0xbc6658 to 0xbc66e0 (136 bytes) // // 5 xrefs: // > png_chunk_unknown_handling @ 0xbc6710 // > png_write_info_before_PLTE @ 0xbe6d64 // > png_write_info @ 0xbe702c // > png_write_end @ 0xbe73c8 // > @ 0x89e98 // // 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 // __int64 __fastcall png_handle_as_unknown(__int64 a1, void *a2) { int v2; // w19 unsigned int v3; // w2 unsigned __int64 v4; // x21 unsigned __int8 *v6; // x19 if ( !a1 || !a2 ) return 0; v2 = *(_DWORD *)(a1 + 1084); v3 = 0; if ( v2 ) { v4 = *(_QWORD *)(a1 + 1088); v6 = (unsigned __int8 *)(v4 + (unsigned int)(5 * v2)); while ( 1 ) { v6 -= 5; if ( !memcmp(a2, v6, 4u) ) break; if ( v4 >= (unsigned __int64)v6 ) return 0; } return v6[4]; } return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source