// // jpeg_start_decompress from 0xe7abcc to 0xe7ace8 (284 bytes) // // 2 xrefs: // > cocos2d::CCImage::_initWithJpgData @ 0xd7ccf4 // > @ 0xb8018 // // 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_start_decompress(__int64 a1) { int v1; // w1 void (__fastcall **v3)(_QWORD); // x2 __int64 v4; // x1 int v5; // w0 __int64 v6; // x2 __int64 v7; // x0 v1 = *(_DWORD *)(a1 + 36); if ( v1 == 202 ) { jinit_master_decompress(); if ( *(_DWORD *)(a1 + 88) ) { *(_DWORD *)(a1 + 36) = 207; return 1; } *(_DWORD *)(a1 + 36) = 203; } else if ( v1 != 203 ) { if ( v1 != 204 ) { v3 = *(void (__fastcall ***)(_QWORD))a1; *((_DWORD *)v3 + 11) = v1; *((_DWORD *)v3 + 10) = 21; (**(void (__fastcall ***)(__int64))a1)(a1); } return sub_E7AAB4(a1); } if ( *(_DWORD *)(*(_QWORD *)(a1 + 608) + 32LL) ) { v4 = *(_QWORD *)(a1 + 16); LABEL_11: if ( v4 ) (*(void (__fastcall **)(__int64))v4)(a1); while ( 1 ) { v5 = (**(__int64 (__fastcall ***)(__int64))(a1 + 608))(a1); if ( !v5 ) return 0; if ( v5 == 2 ) goto LABEL_19; v4 = *(_QWORD *)(a1 + 16); if ( v4 ) { if ( (v5 & 0xFFFFFFFD) == 1 ) { v6 = *(_QWORD *)(v4 + 16); v7 = *(_QWORD *)(v4 + 8) + 1LL; *(_QWORD *)(v4 + 8) = v7; if ( v7 >= v6 ) *(_QWORD *)(v4 + 16) = v6 + *(unsigned int *)(a1 + 432); } goto LABEL_11; } } } else { LABEL_19: *(_DWORD *)(a1 + 180) = *(_DWORD *)(a1 + 172); return sub_E7AAB4(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source