// // cocos2d::CCFileUtils::loadFilenameLookupDictionaryFromFile from 0x1001522e8 to 0x100152410 (296 bytes) // // 2 xrefs: // > @ 0x10079a418 // > @ 0x1007c7ce8 // // 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 // void __fastcall cocos2d::CCFileUtils::loadFilenameLookupDictionaryFromFile(cocos2d::CCFileUtils *a1, const char *a2) { void **v3; // x0 cocos2d::CCDictionary *v4; // x20 __int64 v5; // x21 cocos2d::CCString *v6; // x0 int v7; // w21 __int64 v8; // x0 void *__p[2]; // [xsp+0h] [xbp-50h] BYREF char v10; // [xsp+17h] [xbp-39h] void *v11[2]; // [xsp+18h] [xbp-38h] BYREF char v12; // [xsp+2Fh] [xbp-21h] ((void (__fastcall *)(void **__return_ptr))a1->createCCArrayWithContentsOfFile)(v11); if ( (v12 & 0x80000000) == 0 ) { if ( !v12 ) return; v3 = v11; goto LABEL_6; } if ( v11[1] ) { v3 = (void **)v11[0]; LABEL_6: v4 = cocos2d::CCDictionary::createWithContentsOfFile((const char *)v3); if ( v4 ) { sub_100009900(__p, "metadata"); v5 = cocos2d::CCDictionary::objectForKey_1(v4, __p); if ( v10 < 0 ) operator delete(__p[0]); sub_100009900(__p, "version"); v6 = (cocos2d::CCString *)cocos2d::CCDictionary::objectForKey_1(v5, __p); v7 = cocos2d::CCString::intValue(v6); if ( v10 < 0 ) operator delete(__p[0]); if ( v7 == 1 ) { sub_100009900(__p, "filenames"); v8 = cocos2d::CCDictionary::objectForKey_1(v4, __p); ((void (__fastcall *)(cocos2d::CCFileUtils *, __int64))a1->fullPathFromRelativeFile)(a1, v8); if ( v10 < 0 ) operator delete(__p[0]); } } } if ( v12 < 0 ) operator delete(v11[0]); }
GD Web Decomp Icon

GD Web Decomp

Raw Source