// // SpriteAnimationManager::initWithOwner from 0x6b1d7c to 0x6b1fcc (592 bytes) // // 2 xrefs: // > SpriteAnimationManager::createWithOwner @ 0x6b2084 // > @ 0xe3068 // // 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 12:50:51 +0000 // __int64 __fastcall SpriteAnimationManager::initWithOwner(__int64 *a1, __int64 a2, char *a3) { cocos2d::CCObject *v5; // x0 cocos2d::CCDictionary *v6; // x0 cocos2d::CCObject *v7; // x0 cocos2d::CCDictionary *v8; // x0 cocos2d::CCObject *v9; // x0 cocos2d::CCDictionary *v10; // x0 cocos2d::CCObject *v11; // x0 __int64 v12; // x26 cocos2d::CCObject *v13; // x25 cocos2d::CCDictionary *v14; // x0 cocos2d::CCObject *v15; // x0 __int64 v16; // x25 cocos2d::CCObject *v17; // x24 char v18; // w0 cocos2d::CCDictionary *v19; // x0 __int64 v20; // x1 char v21; // w0 cocos2d::CCDictionary *v22; // x0 __int64 v23; // x1 cocos2d::CCDictionary *v25; // [xsp+50h] [xbp+50h] BYREF __int64 v26; // [xsp+58h] [xbp+58h] void *v27; // [xsp+60h] [xbp+60h] a1[40] = a2; v5 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(_stack_chk_guard); a1[49] = (__int64)v5; v6 = (cocos2d::CCDictionary *)cocos2d::CCObject::retain(v5); v7 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v6); a1[43] = (__int64)v7; v8 = (cocos2d::CCDictionary *)cocos2d::CCObject::retain(v7); v9 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v8); a1[48] = (__int64)v9; v10 = (cocos2d::CCDictionary *)cocos2d::CCObject::retain(v9); v11 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v10); a1[41] = (__int64)v11; cocos2d::CCObject::retain(v11); v12 = a1[41]; v13 = (cocos2d::CCObject *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)&qword_60 + 3); v25 = nullptr; v26 = 0; v27 = nullptr; std::string::__init((__int64 *)&v25, "not_used", 8u); cocos2d::CCDictionary::setObject(v12, v13); v14 = (cocos2d::CCDictionary *)(unsigned __int8)v25; if ( ((unsigned __int8)v25 & 1) != 0 ) operator delete(v27); v15 = (cocos2d::CCObject *)cocos2d::CCDictionary::create(v14); a1[42] = (__int64)v15; cocos2d::CCObject::retain(v15); v16 = a1[42]; v17 = (cocos2d::CCObject *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)&qword_60 + 3); v25 = nullptr; v26 = 0; v27 = nullptr; std::string::__init((__int64 *)&v25, "not_used", 8u); cocos2d::CCDictionary::setObject(v16, v17); if ( ((unsigned __int8)v25 & 1) != 0 ) operator delete(v27); std::string::assign(a1 + 44, "not_used"); std::string::assign(a1 + 50, "not_used"); std::string::assign(a1 + 53, "not_used"); v25 = nullptr; v18 = *a3; v26 = 0; v27 = nullptr; if ( (v18 & 1) != 0 ) { std::string::__init((__int64 *)&v25, *((void **)a3 + 2), *((_QWORD *)a3 + 1)); } else { v19 = *(cocos2d::CCDictionary **)a3; v20 = *((_QWORD *)a3 + 1); v27 = *((void **)a3 + 2); v25 = v19; v26 = v20; } SpriteAnimationManager::createAnimations((__int64)&v25); if ( ((unsigned __int8)v25 & 1) != 0 ) operator delete(v27); v21 = *a3; v25 = nullptr; v26 = 0; v27 = nullptr; if ( (v21 & 1) != 0 ) { std::string::__init((__int64 *)&v25, *((void **)a3 + 2), *((_QWORD *)a3 + 1)); } else { v22 = *(cocos2d::CCDictionary **)a3; v23 = *((_QWORD *)a3 + 1); v27 = *((void **)a3 + 2); v25 = v22; v26 = v23; } SpriteAnimationManager::loadAnimations(a1, (char *)&v25); if ( ((unsigned __int8)v25 & 1) != 0 ) operator delete(v27); return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source