// // PlatformerControlsPopup::refreshUploadColumn from 0x79c918 to 0x79c9d2 (186 bytes) // // 1 xrefs: // > PlatformerControlsPopup::refreshClassUI @ 0x79ca3e // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:59:50 +0000 // int __fastcall PlatformerControlsPopup::refreshUploadColumn(int this, int a2) { int v2; // r4 int IsCustom; // r0 int v5; // r11 int v6; // r6 _DWORD *v7; // r12 int v8; // r5 int v9; // r2 int v10; // r9 CCMenuItemToggler *v11; // r8 CCMenuItemToggler *v12; // t1 _BOOL4 v13; // r1 int v14; // r7 int v15; // [sp+0h] [bp-Ch] _DWORD *v16; // [sp+4h] [bp-8h] v2 = this; if ( *(_BYTE *)(this + 804) && *(_DWORD *)(this + 728) ) { IsCustom = PlatformerControlsPopup::sourceIsCustom((PlatformerControlsPopup *)this); v5 = v2 + 812; v6 = v2; v7 = &unk_BF1208; v8 = 0; v9 = IsCustom; do { v10 = v7[v8]; if ( (v10 & a2) == 0 ) *(_DWORD *)(*(_DWORD *)(v2 + 728) + 1364) &= ~v10; v12 = *(CCMenuItemToggler **)(v5 + 4); v5 += 4; v11 = v12; v16 = v7; ++v8; if ( v9 ) v13 = (v10 & a2) != 0; else v13 = 0; v15 = v9; v6 += 8; (*(void (__fastcall **)(CCMenuItemToggler *, _BOOL4))(*(_DWORD *)v11 + 528))(v11, v13); CCMenuItemToggler::toggle(v11, (v10 & *(_DWORD *)(*(_DWORD *)(v2 + 728) + 1364)) != 0); if ( (v10 & a2) != 0 ) v14 = 255; else v14 = 100; (*(void (__fastcall **)(_DWORD, int))(**(_DWORD **)(v6 + 820) + 456))(*(_DWORD *)(v6 + 820), v14); this = (*(int (__fastcall **)(_DWORD, int))(**(_DWORD **)(v6 + 824) + 456))(*(_DWORD *)(v6 + 824), v14); v9 = v15; v7 = v16; } while ( v8 != 3 ); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source