// // cocos2d::CCFileUtils::createCCDictionaryWithContentsOfFile from 0x5e0430 to 0x5e04b2 (130 bytes) // // 0 xrefs: // // 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 // cocos2d::CCSAXDelegator_vtbl *__fastcall cocos2d::CCFileUtils::createCCDictionaryWithContentsOfFile(int a1, _DWORD *a2) { const char *v2; // r5 cocos2d::CCSAXDelegator_vtbl *v3; // r5 const char *v5; // [sp+0h] [bp-8h] BYREF cocos2d::CCSAXParser v6; // [sp+4h] [bp-4h] BYREF cocos2d::CCSAXDelegator v7[39]; // [sp+8h] [bp+0h] BYREF (*(void (__fastcall **)(const char **, int, _DWORD, _DWORD))(*(_DWORD *)a1 + 24))(&v5, a1, *a2, 0); cocos2d::CCDictMaker::CCDictMaker((cocos2d::CCDictMaker *)v7); v2 = v5; v7[1].__vftable = (cocos2d::CCSAXDelegator_vtbl *)(&dword_0 + 1); cocos2d::CCSAXParser::CCSAXParser(&v6); if ( cocos2d::CCSAXParser::init(&v6, "UTF-8") ) { cocos2d::CCSAXParser::setDelegator(&v6, v7); cocos2d::CCSAXParser::parse(&v6, v2); v3 = v7[3].__vftable; } else { v3 = nullptr; } cocos2d::CCSAXParser::~CCSAXParser(&v6); cocos2d::CCDictMaker::~CCDictMaker((cocos2d::CCDictMaker *)v7); sub_774008(&v5); return v3; }
GD Web Decomp Icon

GD Web Decomp

Raw Source