// // PlatformerControlsPopup::refreshClassUI from 0x140450e60 to 0x140450f88 (296 bytes) // // 5 xrefs: // > PlatformerControlsPopup::refreshModeUI @ 0x140450e4e // > PlatformerControlsPopup::update @ 0x1404511e3 // > PlatformerControlsPopup::onUpload @ 0x14045197c // > PlatformerControlsPopup::onClose @ 0x140451cf8 // > @ 0x140927740 // // This function is hookable on this platform (idp: pc, 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:32:27 +0000 // __int64 __fastcall PlatformerControlsPopup::refreshClassUI(__int64 a1) { _QWORD *v1; // r8 int v3; // ecx unsigned int v4; // edi __int64 v5; // rax int v6; // ebp char v7; // si int v8; // eax __int64 v9; // rcx const char *v10; // r14 const char *v11; // rdx BOOL v12; // eax __int64 v13; // rcx const char *v14; // rdx __int64 v15; // rcx v1 = *(_QWORD **)(a1 + 1048); if ( v1 ) { v3 = (v1[11] != 0) | 2; if ( v1[17] == v1[18] ) v3 = v1[11] != 0; v4 = v3 | 4; if ( !v1[15] ) v4 = v3; } else { v4 = *(_DWORD *)(a1 + 1288); } v5 = *(_QWORD *)(a1 + 1032); v6 = 1; *(_DWORD *)(a1 + 1292) = v4; if ( v5 && *(_DWORD *)(v5 + 2096) == 1 ) { v7 = 1; if ( (v4 & 1) == 0 ) { v8 = 1; goto LABEL_14; } } else { v7 = 0; } v8 = 0; LABEL_14: v9 = *(_QWORD *)(a1 + 1136); v10 = "GJ_button_01.png"; if ( v9 ) { v11 = "GJ_button_01.png"; if ( v8 ) v11 = "GJ_button_04.png"; ButtonSprite::updateBGImage(v9, v11); } v12 = v7 && (v4 & 2) == 0; v13 = *(_QWORD *)(a1 + 1144); if ( v13 ) { v14 = "GJ_button_01.png"; if ( v12 ) v14 = "GJ_button_04.png"; ButtonSprite::updateBGImage(v13, v14); } if ( !v7 || (v4 & 4) != 0 ) v6 = 0; v15 = *(_QWORD *)(a1 + 1152); if ( v15 ) { if ( v6 ) v10 = "GJ_button_04.png"; ButtonSprite::updateBGImage(v15, v10); } return PlatformerControlsPopup::refreshUploadColumn(a1, v4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source