// // PlatformerControlsPopup::onLevelControlsRefreshed from 0x79dc54 to 0x79dd66 (274 bytes) // // 1 xrefs: // > `non-virtual thunk to'PlatformerControlsPopup::onLevelControlsRefreshed @ 0x79dd88 // // 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:51 +0000 // int __fastcall PlatformerControlsPopup::onLevelControlsRefreshed(int this, int a2, int a3) { int v4; // r4 int v5; // r2 int v6; // r0 int v7; // r0 const char *v8; // r6 int v9; // r3 void (__fastcall *v10)(int, cocos2d::CCNode *, int); // r10 size_t v11; // r0 cocos2d::CCNode *v12; // r0 int v13; // r1 int v14; // r2 int v15[3]; // [sp+Ch] [bp-1Ch] BYREF int v16[3]; // [sp+18h] [bp-10h] BYREF v4 = this; v5 = *(_DWORD *)(this + 728); if ( v5 && *(_DWORD *)(v5 + 268) - *(_DWORD *)(v5 + 272) == a2 ) { v6 = *(_DWORD *)(this + 796); if ( v6 ) (*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v6 + 172))(v6, 0); v7 = *(_DWORD *)(v4 + 792); if ( v7 ) (*(void (__fastcall **)(int, int))(*(_DWORD *)v7 + 172))(v7, 1); if ( a3 == 1 ) { v8 = "Already up to date"; } else if ( a3 == 2 ) { v8 = "No controls found"; } else if ( a3 ) { v8 = "Update failed"; } else { v8 = "Creator controls updated"; } v9 = *(_DWORD *)v4; memset(v15, 0, sizeof(v15)); v10 = *(void (__fastcall **)(int, cocos2d::CCNode *, int))(v9 + 232); v11 = strlen(v8); std::string::__init(v15, v8, v11); 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); v10(v4, v12, 100); std::string::~string((int)v16); std::string::~string((int)v15); if ( (a3 & 0xFFFFFFFD) == 0 ) { *(_BYTE *)(v4 + 752) = 1; PlatformerControlsPopup::reapplyRuntime((PlatformerControlsPopup *)v4); } PlatformerControlsPopup::syncSourceUI((PlatformerControlsPopup *)v4); return PlatformerControlsPopup::refreshApplyVisible((PlatformerControlsPopup *)v4, v13, v14); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source