// // sub_10024547C from 0x10024547c to 0x100245648 (460 bytes) // // 1 xrefs: // > CCAnimateFrameCache::addSpriteFramesWithFile @ 0x100245710 // // This function is hookable on this platform (idp: arm, 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 11:01:26 +0000 // __int64 __fastcall sub_10024547C(__int64 a1, __int64 a2, char *__s) { __int64 v5; // x21 __int64 v6; // x21 __int64 v7; // x22 __int64 v8; // x23 __int64 v9; // x0 char *CString; // x27 __int64 v11; // x0 __int64 v12; // x25 __int64 v13; // x26 __int64 v14; // x28 unsigned int v15; // w28 __int64 v16; // x0 char *v17; // x0 __int64 v18; // x27 __int64 v19; // x0 void *__p[2]; // [xsp+8h] [xbp-68h] BYREF char v22; // [xsp+1Fh] [xbp-51h] v5 = *(_QWORD *)(a1 + 72); sub_100009900(__p, __s); cocos2d::CCDictionary::setObject(v5, a2, __p); if ( v22 < 0 ) operator delete(__p[0]); sub_100009900(__p, "animationContainer"); v6 = cocos2d::CCDictionary::objectForKey(a2, __p); if ( v22 < 0 ) operator delete(__p[0]); v7 = cocos2d::CCDictionary::allKeys(v6); if ( (unsigned int)sub_1002E757C(v7) ) { v8 = 0; do { v9 = sub_1002E75A0(v7, v8); CString = (char *)cocos2d::CCString::getCString(v9); sub_100009900(__p, CString); v11 = cocos2d::CCDictionary::objectForKey(v6, __p); v12 = v11; if ( v22 < 0 ) operator delete(__p[0]); v13 = sub_1002E736C(v11); v14 = *(_QWORD *)(a1 + 56); sub_100009900(__p, CString); cocos2d::CCDictionary::setObject(v14, v13, __p); if ( v22 < 0 ) operator delete(__p[0]); if ( (unsigned int)cocos2d::CCDictionary::count(v12) ) { v15 = 0; do { v16 = sub_1003065B0("sprite_%i", v15); v17 = (char *)cocos2d::CCString::getCString(v16); sub_100009900(__p, v17); v18 = cocos2d::CCDictionary::objectForKey(v12, __p); if ( v22 < 0 ) operator delete(__p[0]); v19 = sub_10024574C(v18); sub_1002E74E0(v13, v19); ++v15; } while ( v15 < (unsigned int)cocos2d::CCDictionary::count(v12) ); } v8 = (unsigned int)(v8 + 1); } while ( (unsigned int)v8 < (unsigned int)sub_1002E757C(v7) ); } return a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source