// // cocos2d::CCFileUtils::getFileDataFromZip from 0x100428940 to 0x100428a62 (290 bytes) // // 2 xrefs: // > @ 0x100b41de0 // > @ 0x100b93f20 // // This function is hookable on this platform (idp: pc, 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 12:30:18 +0000 // void *__fastcall cocos2d::CCFileUtils::getFileDataFromZip(__int64 a1, _BYTE *a2, __int64 a3, size_t *a4) { __int64 v6; // rax void *v7; // rbx void *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 == 0 ) return nullptr; if ( !*a2 ) return nullptr; v6 = sub_1008AB5B0(a2); if ( !v6 ) return nullptr; v7 = (void *)v6; if ( !(unsigned int)sub_1008AC700(v6, a3, 1) ) { v8 = nullptr; if ( (unsigned int)sub_1008AC390((_DWORD)v7, (unsigned int)&v11, (unsigned int)&v13, 260, 0, 0, 0) ) goto LABEL_8; if ( !(unsigned int)sub_1008AD270(v7) ) { v10 = __sz; v8 = operator new[](__sz); sub_1008AD2F0(v7, v8, v10); *a4 = __sz; sub_1008AB660(v7); goto LABEL_8; } } v8 = nullptr; LABEL_8: sub_1008AB5E0(v7); return v8; }
GD Web Decomp Icon

GD Web Decomp

Raw Source