//
// PlatformerControlsPopup::refreshClassUI from 0x79c9d8 to 0x79ca42 (106 bytes)
//
// 4 xrefs:
// > PlatformerControlsPopup::refreshModeUI @ 0x79cc0a
// > PlatformerControlsPopup::update @ 0x79ccaa
// > PlatformerControlsPopup::onClose @ 0x79d0f8
// > PlatformerControlsPopup::onUpload @ 0x79e15c
//
// 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::refreshClassUI(PlatformerControlsPopup *this)
{
int v2; // r0
char *v3; // r7
int v4; // r5
int v5; // r6
int IsCustom; // r8
_BOOL4 v7; // r3
char *v8; // r0
char *v9; // t1
const char *v10; // r1
v2 = PlatformerControlsPopup::presentClasses(this);
v3 = (char *)this + 772;
v4 = 0;
*((_DWORD *)this + 214) = v2;
v5 = v2;
IsCustom = PlatformerControlsPopup::sourceIsCustom(this);
do
{
if ( IsCustom )
v7 = (v5 & dword_BF1208[v4]) == 0;
else
v7 = 0;
v9 = *((char **)v3 + 1);
v3 += 4;
v8 = v9;
if ( v9 )
{
if ( v7 )
v10 = "GJ_button_04.png";
else
v10 = "GJ_button_01.png";
ButtonSprite::updateBGImage(v8, v10);
}
++v4;
}
while ( v4 != 3 );
return PlatformerControlsPopup::refreshUploadColumn((int)this, v5);
}