//
// LevelSettingsLayer::updateGameplayModeButtons from 0x6a91d0 to 0x6a923e (110 bytes)
//
// 2 xrefs:
// > LevelSettingsLayer::onGameplayMode @ 0x6a9270
// > LevelSettingsLayer::init @ 0x6ab4f0
//
// 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:56:33 +0000
//
char *__fastcall LevelSettingsLayer::updateGameplayModeButtons(LevelSettingsLayer *this)
{
char *v2; // r7
int v3; // r0
int v4; // r5
char *v5; // r6
const char *v6; // r1
const char *v7; // r1
v2 = (char *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 157) + 536))(*((_DWORD *)this + 157));
v3 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 158) + 536))(*((_DWORD *)this + 158));
v4 = *(unsigned __int8 *)(*((_DWORD *)this + 149) + 281);
v5 = (char *)v3;
(*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 157) + 528))(*((_DWORD *)this + 157), v4);
if ( v4 )
v6 = "GJ_button_04.png";
else
v6 = "GJ_button_01.png";
ButtonSprite::updateBGImage(v2, v6);
(*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 158) + 528))(*((_DWORD *)this + 158), v4 ^ 1);
if ( v4 )
v7 = "GJ_button_01.png";
else
v7 = "GJ_button_04.png";
return ButtonSprite::updateBGImage(v5, v7);
}