// // ControlSlotsPopup::onLoad from 0xd06e4c to 0xd06fb8 (364 bytes) // // 3 xrefs: // > @ 0x5fab8 // > ControlSlotsPopup::init @ 0xd05f98 // > @ 0x1542410 // // 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 13:06:57 +0000 // __int64 __fastcall ControlSlotsPopup::onLoad(ControlSlotsPopup *this, cocos2d::CCObject *a2) { GameManager *v3; // x0 unsigned int v4; // w21 GameManager *v5; // x0 TouchControlEditLayer *v6; // x0 void (__fastcall *v7)(ControlSlotsPopup *, __int64, __int64); // x23 cocos2d::CCString *v8; // x0 const char *CString; // x0 size_t v10; // x0 __int64 v11; // x0 char *v13; // [xsp+48h] [xbp+48h] __int64 v14[2]; // [xsp+58h] [xbp+58h] BYREF void *v15; // [xsp+68h] [xbp+68h] __int64 v16[2]; // [xsp+70h] [xbp+70h] BYREF void *v17; // [xsp+80h] [xbp+80h] v3 = (GameManager *)(*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2); v4 = (unsigned int)v3; v5 = (GameManager *)GameManager::sharedState(v3); GameManager::loadDPadLayout(v5, v4, *((_BYTE *)this + 1024)); v6 = *((TouchControlEditLayer **)this + 127); if ( v6 ) TouchControlEditLayer::reloadNodes(v6); v7 = *(void (__fastcall **)(ControlSlotsPopup *, __int64, __int64))(*(_QWORD *)this + 464LL); v8 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"Slot %i loaded", (const char *)v4); CString = (const char *)cocos2d::CCString::getCString(v8); v14[0] = 0; v13 = (char *)CString; v14[1] = 0; v15 = nullptr; v10 = strlen(CString); std::string::__init(v14, v13, v10); v16[0] = 0; v16[1] = 0; v17 = nullptr; std::string::__init(v16, &byte_11B8890, 0); v11 = TextAlertPopup::create((char *)v14, 150, (char *)v16, 0.5, 0.6); v7(this, v11, 100); if ( (v16[0] & 1) != 0 ) operator delete(v17); if ( (v14[0] & 1) != 0 ) operator delete(v15); return _stack_chk_guard; }