// // jpeg_mem_src from 0xc06810 to 0xc068d0 (192 bytes) // // 2 xrefs: // > cocos2d::CCImage::_initWithJpgData @ 0xb0bcf8 // > @ 0x37038 // // 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 // void (*__fastcall jpeg_mem_src(__int64 a1, __int64 a2, __int64 a3))() { _QWORD *v6; // x1 void (__fastcall *v8)(__int64); // x2 if ( !a2 || !a3 ) { v8 = **(void (__fastcall ***)(__int64))a1; *(_DWORD *)(*(_QWORD *)a1 + 40LL) = 43; v8(a1); v6 = *(_QWORD **)(a1 + 40); if ( v6 ) goto LABEL_4; LABEL_6: v6 = (_QWORD *)(**(__int64 (__fastcall ***)(__int64))(a1 + 8))(a1); *(_QWORD *)(a1 + 40) = v6; goto LABEL_4; } v6 = *(_QWORD **)(a1 + 40); if ( !v6 ) goto LABEL_6; LABEL_4: v6[2] = nullsub_17; v6[3] = sub_C065EC; v6[4] = sub_C0663C; v6[5] = jpeg_resync_to_restart; v6[1] = a3; *v6 = a2; v6[6] = nullsub_39; return nullsub_39; }
GD Web Decomp Icon

GD Web Decomp

Raw Source