// // jpeg_read_header from 0x674670 to 0x6746bc (76 bytes) // // 1 xrefs: // > cocos2d::CCImage::_initWithJpgData @ 0x5e19d6 // // 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 // 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