// // ControlSlotsPopup::onLoad from 0x7a44fc to 0x7a45bc (192 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 11:59:56 +0000 // int __fastcall ControlSlotsPopup::onLoad(ControlSlotsPopup *this, cocos2d::CCObject *a2) { GameManager *v3; // r4 GameManager *v4; // r0 TouchControlEditLayer *v5; // r0 void (__fastcall *v6)(ControlSlotsPopup *, cocos2d::CCNode *, int); // r9 cocos2d::CCString *v7; // r0 const char *CString; // r6 size_t v9; // r0 cocos2d::CCNode *v10; // r0 int v12[3]; // [sp+Ch] [bp-20h] BYREF int v13[3]; // [sp+18h] [bp-14h] BYREF v3 = (GameManager *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2); v4 = (GameManager *)GameManager::sharedState(v3); GameManager::loadDPadLayout(v4, (int)v3, *((unsigned __int8 *)this + 716)); v5 = *((TouchControlEditLayer **)this + 178); if ( v5 ) TouchControlEditLayer::reloadNodes(v5); v6 = *(void (__fastcall **)(ControlSlotsPopup *, cocos2d::CCNode *, int))(*(_DWORD *)this + 232); v7 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"Slot %i loaded", (const char *)v3); memset(v12, 0, sizeof(v12)); CString = (const char *)cocos2d::CCString::getCString(v7); v9 = strlen(CString); std::string::__init(v12, CString, v9); memset(v13, 0, sizeof(v13)); std::string::__init(v13, &unk_B6B226, 0); v10 = TextAlertPopup::create((int)v12, (cocos2d::CCDelayTime *)0x3F000000, 0.6, 150, (int)v13); v6(this, v10, 100); std::string::~string((int)v13); return std::string::~string((int)v12); }
GD Web Decomp Icon

GD Web Decomp

Raw Source