// // uncompress from 0xcc845c to 0xcc8540 (228 bytes) // // 2 xrefs: // > cocos2d::ZipUtils::ccInflateCCZFile @ 0xb2ad88 // > @ 0x43638 // // 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 uncompress(__int64 a1, __int64 *a2, __int64 a3, __int64 a4) { __int64 v5; // x1 __int64 result; // x0 unsigned int v7; // w19 __int64 v8; // [xsp+30h] [xbp+30h] BYREF int v9; // [xsp+38h] [xbp+38h] __int64 v10; // [xsp+48h] [xbp+48h] int v11; // [xsp+50h] [xbp+50h] __int64 v12; // [xsp+58h] [xbp+58h] __int64 v13; // [xsp+70h] [xbp+70h] __int64 v14; // [xsp+78h] [xbp+78h] v8 = a3; v9 = a4; if ( a4 != (unsigned int)a4 ) return 4294967291LL; v5 = *a2; v10 = a1; v11 = v5; if ( v5 != (unsigned int)v5 ) return 4294967291LL; v13 = 0; v14 = 0; result = inflateInit_(&v8, "1.2.8", 112); if ( !(_DWORD)result ) { v7 = inflate((__int64)&v8, 4u); if ( v7 == 1 ) { *a2 = v12; return inflateEnd(&v8); } else { inflateEnd(&v8); if ( v7 == 2 ) { return 4294967293LL; } else { result = v7; if ( v7 == -5 ) { if ( v9 ) return 4294967291LL; else return 4294967293LL; } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source