// // jpeg_read_header from 0xe7a878 to 0xe7a920 (168 bytes) // // 2 xrefs: // > cocos2d::CCImage::_initWithJpgData @ 0xd7ccc0 // > @ 0x60aa8 // // 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:42 +0000 // __int64 __fastcall jpeg_read_header(_QWORD **a1, int a2) { int v2; // w2 void (__fastcall **v5)(_QWORD); // x3 unsigned int v6; // w20 void (__fastcall *v8)(_QWORD **); // x2 v2 = *((_DWORD *)a1 + 9); if ( (unsigned int)(v2 - 200) > 1 ) { v5 = (void (__fastcall **)(_QWORD))*a1; *((_DWORD *)v5 + 11) = v2; *((_DWORD *)v5 + 10) = 21; ((void (__fastcall *)(_QWORD **))**a1)(a1); } v6 = jpeg_consume_input((__int64 *)a1); if ( v6 != 2 ) return v6; if ( a2 ) { v8 = (void (__fastcall *)(_QWORD **))**a1; *((_DWORD *)*a1 + 10) = 53; v8(a1); } jpeg_abort((__int64)a1); return 2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source