// // DeathTrackerOptionsPopup::FLAlert_Clicked from 0x1004b97bc to 0x1004b98b4 (248 bytes) // // 2 xrefs: // > sub_1004B98E8 @ 0x1004b98ec // > @ 0x100983ed8 // // 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:16 +0000 // __int64 __fastcall DeathTrackerOptionsPopup::FLAlert_Clicked(__int64 result, __int64 a2, int a3) { __int64 v3; // x19 __int64 v4; // x0 __int64 v5; // x20 _QWORD *v6; // x0 __int64 v7; // x0 void *__p[2]; // [xsp+0h] [xbp-40h] BYREF char v9; // [xsp+17h] [xbp-29h] void *v10[2]; // [xsp+18h] [xbp-28h] BYREF char v11; // [xsp+2Fh] [xbp-11h] if ( a3 ) { v3 = result; result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); if ( (_DWORD)result == 1 ) { if ( *(_QWORD *)(v3 + 1024) ) { v4 = GameLevelManager::sharedState(); sub_1000B3F6C(v4, *(_DWORD **)(v3 + 1024), 0); v5 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector() + 272); sub_100009900(v10, "Death data cleared"); sub_100009900(__p, ""); v6 = TextAlertPopup::create((__int64)v10, 150, (__int64)__p, 0.5, 0.6); (*(void (__fastcall **)(__int64, _QWORD *, __int64))(*(_QWORD *)v5 + 464LL))(v5, v6, 1000); if ( v9 < 0 ) operator delete(__p[0]); if ( v11 < 0 ) operator delete(v10[0]); v7 = *(_QWORD *)(v3 + 1032); if ( v7 ) sub_1004BB1CC(v7, 0); return (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v3 + 1368LL))(v3, 0); } } } return result; }