// // jpeg_read_header from 0xc046b8 to 0xc04760 (168 bytes) // // 2 xrefs: // > cocos2d::CCImage::_initWithJpgData @ 0xb0bd04 // > @ 0x43cb0 // // 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 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