// // cocos2d::CCFileUtils::getFileDataFromZip from 0x10043aec0 to 0x10043afe2 (290 bytes) // // 2 xrefs: // > @ 0x100937fb0 // > @ 0x100980550 // // 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 // unsigned __int8 *__fastcall cocos2d::CCFileUtils::getFileDataFromZip( cocos2d::CCFileUtils *a1, const char *a2, const char *a3, unsigned __int64 *a4) { __int64 v6; // rax void *v7; // rbx unsigned __int8 *v8; // r12 unsigned int v10; // r14d char v11; // [rsp+18h] [rbp-1B8h] BYREF size_t __sz; // [rsp+50h] [rbp-180h] char v13; // [rsp+A0h] [rbp-130h] BYREF *a4 = 0; if ( a2 == nullptr || a3 == nullptr ) return nullptr; if ( !*a2 ) return nullptr; v6 = sub_1007C3D20(a2); if ( !v6 ) return nullptr; v7 = (void *)v6; if ( !(unsigned int)sub_1007C4E70(v6, a3, 1) ) { v8 = nullptr; if ( (unsigned int)sub_1007C4B00((_DWORD)v7, (unsigned int)&v11, (unsigned int)&v13, 260, 0, 0, 0) ) goto LABEL_8; if ( !(unsigned int)sub_1007C59E0(v7) ) { v10 = __sz; v8 = (unsigned __int8 *)operator new[](__sz); sub_1007C5A60(v7, v8, v10); *a4 = __sz; sub_1007C3DD0(v7); goto LABEL_8; } } v8 = nullptr; LABEL_8: sub_1007C3D50(v7); return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source