// // DeathMarkerSettingsPopup::FLAlert_Clicked from 0xca5eec to 0xca60dc (496 bytes) // // 3 xrefs: // > `non-virtual thunk to'DeathMarkerSettingsPopup::FLAlert_Clicked @ 0xca60e4 // > @ 0xcb6f8 // > @ 0x14f7730 // // 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:02 +0000 // __int64 __fastcall DeathMarkerSettingsPopup::FLAlert_Clicked(GJGameLevel **this, FLAlertLayer *a2, char a3) { GameLevelManager *v5; // x0 unsigned __int8 v6; // w21 GameLevelManager *v7; // x0 GameManager *v8; // x0 GameManager *v9; // x0 GameManager *v10; // x0 __int64 v11; // x1 __int64 v12; // x3 __int64 v13; // x2 GameManager *v14; // x0 GameManager *v15; // x0 __int64 v16; // x0 GameManager *v17; // x0 __int64 v18; // x0 __int64 *v19; // x20 __int64 v20; // x3 void (__fastcall *v21)(__int64 *, __int64, __int64); // x23 __int64 v22; // x0 __int64 v23[2]; // [xsp+48h] [xbp+48h] BYREF void *v24; // [xsp+58h] [xbp+58h] __int64 v25[2]; // [xsp+60h] [xbp+60h] BYREF void *v26; // [xsp+70h] [xbp+70h] if ( a3 ) { v5 = (GameLevelManager *)(*(__int64 (__fastcall **)(FLAlertLayer *))(*(_QWORD *)a2 + 64LL))(a2); v6 = (unsigned __int8)v5; if ( (_DWORD)v5 == 1 ) { v7 = (GameLevelManager *)GameLevelManager::sharedState(v5); v8 = (GameManager *)GameLevelManager::clearDeathDataInstances(v7, *(this + 132), v6); v9 = *(GameManager **)(GameManager::sharedState(v8) + 544); if ( v9 ) { v10 = (GameManager *)GameManager::sharedState(v9); v11 = *((_QWORD *)v10 + 68); v12 = *(_QWORD *)(v11 + 14440); v13 = *(_QWORD *)(v11 + 14448); if ( v12 != v13 ) { v10 = (GameManager *)(v13 + 4 * ~((unsigned __int64)(v13 - 4 - v12) >> 2)); *(_QWORD *)(v11 + 14448) = v10; } v14 = (GameManager *)(*(_QWORD *)(GameManager::sharedState(v10) + 544) + 12288LL); *((_BYTE *)v14 + 2176) = 0; v15 = *(GameManager **)(*(_QWORD *)(GameManager::sharedState(v14) + 544) + 1944LL); if ( v15 ) { v16 = GameManager::sharedState(v15); v17 = (GameManager *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(*(_QWORD *)(v16 + 544) + 1944LL) + 520LL))(*(_QWORD *)(*(_QWORD *)(v16 + 544) + 1944LL)); v15 = *(GameManager **)(GameManager::sharedState(v17) + 544); *((_QWORD *)v15 + 243) = 0; } v18 = GameManager::sharedState(v15); v9 = (GameManager *)PlayLayer::dtLiveMarkersChanged(*(PlayLayer **)(v18 + 544)); } v19 = *(__int64 **)(cocos2d::CCDirector::sharedDirector(v9) + 272); v20 = *v19; v23[0] = 0; v23[1] = 0; v21 = *(void (__fastcall **)(__int64 *, __int64, __int64))(v20 + 464); v24 = nullptr; std::string::__init(v23, "Death markers cleared", 0x15u); v25[0] = 0; v25[1] = 0; v26 = nullptr; std::string::__init(v25, &byte_11B8890, 0); v22 = TextAlertPopup::create((char *)v23, 150, (char *)v25, 0.5, 0.6); v21(v19, v22, 1000); if ( (v25[0] & 1) != 0 ) operator delete(v26); if ( (v23[0] & 1) != 0 ) operator delete(v24); } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source