// // UISaveLoadLayer::onLoad from 0x5ddad8 to 0x5ddbee (278 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:54:13 +0000 // int __fastcall UISaveLoadLayer::onLoad(UISaveLoadLayer *this, cocos2d::CCObject *a2) { int v3; // r5 GameManager *v4; // r0 GameManager *v5; // r0 bool v6; // r1 SetupTriggerPopup *v7; // r8 cocos2d::CCString *v8; // r0 const char *CString; // r6 size_t v10; // r0 void (__fastcall *v11)(SetupTriggerPopup *, cocos2d::CCNode *, int); // r9 cocos2d::CCNode *v12; // r0 int v14[3]; // [sp+8h] [bp-2Ch] BYREF int v15[3]; // [sp+14h] [bp-20h] BYREF int v16[3]; // [sp+20h] [bp-14h] BYREF v3 = (*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2); (*(void (__fastcall **)(UISaveLoadLayer *, _DWORD))(*(_DWORD *)this + 684))(this, 0); v4 = (GameManager *)(*(int (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 178) + 684))( *((_DWORD *)this + 178), 0); v5 = (GameManager *)GameManager::sharedState(v4); GameManager::loadDPadLayout(v5, v3, *(unsigned __int8 *)(*((_DWORD *)this + 178) + 712)); v7 = UIOptionsLayer::create((UIOptionsLayer *)*(unsigned __int8 *)(*((_DWORD *)this + 178) + 712), v6); (*(void (__fastcall **)(SetupTriggerPopup *))(*(_DWORD *)v7 + 656))(v7); if ( *(_BYTE *)(*((_DWORD *)this + 178) + 712) ) v8 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%sUI %i loaded.", "Dual ", v3); else v8 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat( (cocos2d::CCString *)"%sUI %i loaded.", (const char *)&unk_B6B226, v3); memset(v14, 0, sizeof(v14)); CString = (const char *)cocos2d::CCString::getCString(v8); v10 = strlen(CString); std::string::__init(v14, CString, v10); v11 = *(void (__fastcall **)(SetupTriggerPopup *, cocos2d::CCNode *, int))(*(_DWORD *)v7 + 232); std::string::basic_string(v15, (int)v14); memset(v16, 0, sizeof(v16)); std::string::__init(v16, &unk_B6B226, 0); v12 = TextAlertPopup::create((int)v15, (cocos2d::CCDelayTime *)0x3F000000, 0.6, 150, (int)v16); v11(v7, v12, 100); std::string::~string((int)v16); std::string::~string((int)v15); return std::string::~string((int)v14); }
GD Web Decomp Icon

GD Web Decomp

Raw Source