// // PlatformerControlsPopup::FLAlert_Clicked from 0xcfbe1c to 0xcfbf28 (268 bytes) // // 3 xrefs: // > `non-virtual thunk to'PlatformerControlsPopup::FLAlert_Clicked @ 0xcfbf2c // > @ 0x43a08 // > @ 0x1505bd0 // // 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:51 +0000 // __int64 __fastcall PlatformerControlsPopup::FLAlert_Clicked(PlatformerControlsPopup *this, FLAlertLayer *a2, char a3) { GameLevelManager *v4; // x0 GameLevelManager *v5; // x0 GameLevelManager *v6; // x0 __int64 v7; // x0 __int64 v8; // x0 char v9; // w1 __int64 v11[2]; // [xsp+30h] [xbp+30h] BYREF void *v12; // [xsp+40h] [xbp+40h] if ( a3 ) { v4 = *((GameLevelManager **)this + 131); if ( v4 ) { v5 = (GameLevelManager *)GameLevelManager::sharedState(v4); *((_QWORD *)v5 + 170) = (char *)this + 1016; v6 = (GameLevelManager *)GameLevelManager::sharedState(v5); if ( (unsigned __int8)GameLevelManager::deleteLevelControls( v6, *(_DWORD *)(*((_QWORD *)this + 131) + 328LL) - *(_DWORD *)(*((_QWORD *)this + 131) + 332LL)) ) { v7 = *((_QWORD *)this + 149); if ( v7 ) { *(_QWORD *)(v7 + 664) = 0; *((_QWORD *)this + 149) = 0; } v11[0] = 0; v11[1] = 0; v12 = nullptr; std::string::__init(v11, "Removing controls...", 0x14u); v8 = UploadActionPopup::create((__int64)this + 1024, (char *)v11); v9 = v11[0]; *((_QWORD *)this + 149) = v8; if ( (v9 & 1) != 0 ) { operator delete(v12); v8 = *((_QWORD *)this + 149); } (*(void (__fastcall **)(__int64))(*(_QWORD *)v8 + 1312LL))(v8); } } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source