//
// LevelSettingsLayer::updateGameplayModeButtons from 0xb6239c to 0xb6248c (240 bytes)
//
// 3 xrefs:
// > LevelSettingsLayer::onGameplayMode @ 0xb624c8
// > LevelSettingsLayer::init @ 0xb67580
// > ??> @ 0x58378
//
// 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:02:12 +0000
//
__int64 __fastcall LevelSettingsLayer::updateGameplayModeButtons(LevelSettingsLayer *this)
{
ButtonSprite *v2; // x21
ButtonSprite *v3; // x22
int v4; // w20
v2 = (ButtonSprite *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 110) + 1072LL))(*((_QWORD *)this + 110));
v3 = (ButtonSprite *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 111) + 1072LL))(*((_QWORD *)this + 111));
v4 = *(unsigned __int8 *)(*((_QWORD *)this + 102) + 341LL);
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 110) + 1056LL))(
*((_QWORD *)this + 110),
*(unsigned __int8 *)(*((_QWORD *)this + 102) + 341LL));
if ( v4 )
{
ButtonSprite::updateBGImage(v2, "GJ_button_04.png");
(*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 111) + 1056LL))(*((_QWORD *)this + 111), 0);
return ButtonSprite::updateBGImage(v3, "GJ_button_01.png");
}
else
{
ButtonSprite::updateBGImage(v2, "GJ_button_01.png");
(*(void (__fastcall **)(_QWORD, __int64))(**((_QWORD **)this + 111) + 1056LL))(*((_QWORD *)this + 111), 1);
return ButtonSprite::updateBGImage(v3, "GJ_button_04.png");
}
}