// // cocos2d::CCFileUtils::createCCDictionaryWithContentsOfFile from 0x7e741c to 0x7e74ba (158 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:54 +0000 // int __fastcall cocos2d::CCFileUtils::createCCDictionaryWithContentsOfFile(const char *a1, int a2) { const char *v2; // r4 int v3; // r2 int v4; // r4 int v6; // [sp+0h] [bp-10h] BYREF char v7; // [sp+4h] [bp-Ch] BYREF char v8; // [sp+5h] [bp-Bh] BYREF const char *v9; // [sp+Ch] [bp-4h] _DWORD v10[31]; // [sp+10h] [bp+0h] BYREF v2 = a1; if ( (*(_BYTE *)a2 & 1) != 0 ) v3 = *(_DWORD *)(a2 + 8); else v3 = a2 + 1; (*(void (__fastcall **)(char *, const char *, int, _DWORD))(*(_DWORD *)a1 + 24))(&v7, a1, v3, 0); cocos2d::CCDictMaker::CCDictMaker(v10); if ( (v7 & 1) == 0 ) v2 = &v8; v10[1] = 1; if ( (v7 & 1) != 0 ) v2 = v9; cocos2d::CCSAXParser::CCSAXParser(&v6); if ( cocos2d::CCSAXParser::init((cocos2d::CCSAXParser *)&v6, "UTF-8") ) { cocos2d::CCSAXParser::setDelegator(&v6, (int)v10); cocos2d::CCSAXParser::parse((cocos2d::CCSAXParser *)&v6, v2); v4 = v10[3]; } else { v4 = 0; } cocos2d::CCSAXParser::~CCSAXParser((cocos2d::CCSAXParser *)&v6); cocos2d::CCDictMaker::~CCDictMaker((cocos2d::CCDictMaker *)v10); std::string::~string((int)&v7); return v4; }
GD Web Decomp Icon

GD Web Decomp

Raw Source