// // jpeg_read_header from 0x8846f0 to 0x88473c (76 bytes) // // 1 xrefs: // > cocos2d::CCImage::_initWithJpgData @ 0x7eb7f6 // // 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:03:13 +0000 // int __fastcall jpeg_read_header(_DWORD *a1, int a2) { int result; // r0 if ( (unsigned int)(a1[5] - 200) > 1 ) { *(_DWORD *)(*a1 + 20) = 21; *(_DWORD *)(*a1 + 24) = a1[5]; (*(void (__fastcall **)(_DWORD *))*a1)(a1); } result = jpeg_consume_input(a1); if ( result == 2 ) { if ( a2 ) { *(_DWORD *)(*a1 + 20) = 53; (*(void (__fastcall **)(_DWORD *))*a1)(a1); } jpeg_abort((int)a1); return 2; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source