// // DeathTrackerPopup::setView from 0xcb3bec to 0xcb3e78 (652 bytes) // // 5 xrefs: // > DeathTrackerPopup::init @ 0xcb521c // > DeathTrackerPopup::onToggleGlobal @ 0xcb5a64 // > DeathTrackerPopup::onPanelButton @ 0xcb5bec // > DeathTrackerPopup::onPanelButton @ 0xcb5c7c // > @ 0xc6fb8 // // 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:10 +0000 // __int64 __fastcall DeathTrackerPopup::setView(DeathTrackerPopup *this, int a2) { int v3; // w21 __int64 v4; // x0 __int64 v5; // x0 __int64 v6; // x0 __int64 v7; // x0 __int64 v8; // x0 __int64 v9; // x0 void (*v10)(void); // x2 float v11; // s8 float v12; // s0 __int64 v13; // x21 float v14; // s0 void (__fastcall *v15)(__int64, _BYTE *); // x22 _BYTE v17[8]; // [xsp+50h] [xbp+50h] BYREF v3 = 0; *((_DWORD *)this + 182) = a2; if ( a2 == 2 ) v3 = *((unsigned __int8 *)this + 986); v4 = *((_QWORD *)this + 89); if ( v4 ) { (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 344LL))(v4, v3 | (unsigned int)(a2 == 0)); a2 = *((_DWORD *)this + 182); } v5 = *((_QWORD *)this + 86); if ( v5 ) { (*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 344LL))(v5); a2 = *((_DWORD *)this + 182); } v6 = *((_QWORD *)this + 100); if ( v6 ) { (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v6 + 344LL))(v6, a2 == 1); a2 = *((_DWORD *)this + 182); } v7 = *((_QWORD *)this + 90); if ( v7 ) { (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v7 + 344LL))(v7, a2 == 3); a2 = *((_DWORD *)this + 182); } v8 = *((_QWORD *)this + 102); if ( v8 ) { (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v8 + 344LL))(v8, a2 != 1); a2 = *((_DWORD *)this + 182); } v9 = *((_QWORD *)this + 101); if ( v9 ) { (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v9 + 344LL))(v9, a2 != 1); v10 = *(void (**)(void))(**((_QWORD **)this + 101) + 928LL); if ( v3 || *((_DWORD *)this + 182) ) { v10(); if ( *((_DWORD *)this + 182) != 2 ) goto LABEL_16; } else { v10(); if ( *((_DWORD *)this + 182) != 2 ) goto LABEL_16; } if ( !*((_BYTE *)this + 986) ) { v13 = *((_QWORD *)this + 102); if ( !v13 ) goto LABEL_27; v14 = *((float *)this + 174) - 4.0; goto LABEL_18; } LABEL_16: v11 = *(float *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 101) + 328LL))(*((_QWORD *)this + 101)); (*(void (__fastcall **)(_QWORD))(**((_QWORD **)this + 101) + 168LL))(*((_QWORD *)this + 101)); v13 = *((_QWORD *)this + 102); if ( !v13 ) { LABEL_19: a2 = *((_DWORD *)this + 182); goto LABEL_20; } v14 = (float)(v11 * v12) + 22.0; LABEL_18: v15 = *(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v13 + 320LL); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v17, v14, 18.0); v15(v13, v17); goto LABEL_19; } LABEL_20: if ( a2 == 1 ) { DeathTrackerPopup::buildList(this); goto LABEL_22; } if ( a2 == 2 ) { if ( *((_BYTE *)this + 986) ) { DeathTrackerPopup::buildAttemptLine(this); goto LABEL_22; } LABEL_27: DeathTrackerPopup::buildHistory(this); } LABEL_22: DeathTrackerPopup::updatePanel(this); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source