// // DeathMarkerSettingsPopup::FLAlert_Clicked from 0x1004b7de4 to 0x1004b7f1c (312 bytes) // // 2 xrefs: // > sub_1004B7F50 @ 0x1004b7f54 // > @ 0x100982e48 // // 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 11:06:15 +0000 // void __fastcall DeathMarkerSettingsPopup::FLAlert_Clicked(__int64 a1, __int64 a2, int a3) { __int64 v4; // x0 __int64 v5; // x0 __int64 v6; // x0 __int64 v7; // x0 __int64 v8; // x19 _QWORD *v9; // x0 void *__p[2]; // [xsp+0h] [xbp-40h] BYREF char v11; // [xsp+17h] [xbp-29h] void *v12[2]; // [xsp+18h] [xbp-28h] BYREF char v13; // [xsp+2Fh] [xbp-11h] if ( a3 && (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 1 ) { v4 = GameLevelManager::sharedState(); sub_1000B3F6C(v4, *(_DWORD **)(a1 + 1056), 1); if ( *(_QWORD *)(GameManager::sharedState() + 544) ) { v5 = GameManager::sharedState(); *(_QWORD *)(*(_QWORD *)(v5 + 544) + 14448LL) = *(_QWORD *)(*(_QWORD *)(v5 + 544) + 14440LL); *(_BYTE *)(*(_QWORD *)(GameManager::sharedState() + 544) + 14464LL) = 0; if ( *(_QWORD *)(*(_QWORD *)(GameManager::sharedState() + 544) + 1944LL) ) { v6 = GameManager::sharedState(); (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(*(_QWORD *)(v6 + 544) + 1944LL) + 520LL))(*(_QWORD *)(*(_QWORD *)(v6 + 544) + 1944LL)); *(_QWORD *)(*(_QWORD *)(GameManager::sharedState() + 544) + 1944LL) = 0; } v7 = GameManager::sharedState(); sub_10051DBBC(*(_QWORD *)(v7 + 544)); } v8 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector() + 272); sub_100009900(v12, "Death markers cleared"); sub_100009900(__p, ""); v9 = TextAlertPopup::create((__int64)v12, 150, (__int64)__p, 0.5, 0.6); (*(void (__fastcall **)(__int64, _QWORD *, __int64))(*(_QWORD *)v8 + 464LL))(v8, v9, 1000); if ( v11 < 0 ) operator delete(__p[0]); if ( v13 < 0 ) operator delete(v12[0]); } }