// // cocos2d::CCFileUtils::loadFilenameLookupDictionaryFromFile from 0x7e75f0 to 0x7e76ce (222 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:00:55 +0000 // int __fastcall cocos2d::CCFileUtils::loadFilenameLookupDictionaryFromFile(cocos2d::CCFileUtils *this, const char *a2) { const char *v3; // r1 int v4; // r3 cocos2d::CCDictionary *v5; // r0 cocos2d::CCObject *v6; // r9 int v7; // r10 cocos2d::CCString *v8; // r0 int v9; // r10 void (__fastcall *v10)(cocos2d::CCFileUtils *, int); // r10 int v11; // r0 unsigned __int8 v13; // [sp+4h] [bp-1Ch] BYREF char v14; // [sp+5h] [bp-1Bh] BYREF int v15; // [sp+8h] [bp-18h] cocos2d::CCDictionary *v16; // [sp+Ch] [bp-14h] int v17; // [sp+10h] [bp-10h] BYREF int v18; // [sp+14h] [bp-Ch] int v19; // [sp+18h] [bp-8h] (*(void (__fastcall **)(unsigned __int8 *, cocos2d::CCFileUtils *, const char *, _DWORD))(*(_DWORD *)this + 24))( &v13, this, a2, 0); if ( (v13 & 1) != 0 ) { v4 = v15; if ( !v15 ) return std::string::~string((int)&v13); v5 = v16; } else { v4 = v13 >> 1; if ( !v4 ) return std::string::~string((int)&v13); v5 = (cocos2d::CCDictionary *)&v14; } v6 = cocos2d::CCDictionary::createWithContentsOfFile(v5, v3, v13 << 31, v4); if ( v6 ) { v17 = 0; v18 = 0; v19 = 0; std::string::__init(&v17, "metadata", 8u); v7 = cocos2d::CCDictionary::objectForKey((int)v6, (int)&v17); std::string::~string((int)&v17); v17 = 0; v18 = 0; v19 = 0; std::string::__init(&v17, "version", 7u); v8 = (cocos2d::CCString *)cocos2d::CCDictionary::objectForKey(v7, (int)&v17); v9 = cocos2d::CCString::intValue(v8); std::string::~string((int)&v17); if ( v9 == 1 ) { v10 = *(void (__fastcall **)(cocos2d::CCFileUtils *, int))(*(_DWORD *)this + 36); v17 = 0; v18 = 0; v19 = 0; std::string::__init(&v17, "filenames", 9u); v11 = cocos2d::CCDictionary::objectForKey((int)v6, (int)&v17); v10(this, v11); std::string::~string((int)&v17); } } return std::string::~string((int)&v13); }
GD Web Decomp Icon

GD Web Decomp

Raw Source