//
// LevelSettingsLayer::updateGameplayModeButtons from 0x14045a160 to 0x14045a227 (199 bytes)
//
// 3 xrefs:
// > LevelSettingsLayer::init @ 0x140458cfa
// > LevelSettingsLayer::onGameplayMode @ 0x14045a14d
// > ??> @ 0x140927be4
//
// 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:31 +0000
//
void __fastcall LevelSettingsLayer::updateGameplayModeButtons(__int64 a1)
{
__int64 v2; // rdi
__int64 v3; // rbp
unsigned __int8 v4; // si
const char *v5; // rbx
const char *v6; // rdx
__int64 v7; // rdx
v2 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 880) + 952LL))(*(_QWORD *)(a1 + 880));
v3 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 888) + 952LL))(*(_QWORD *)(a1 + 888));
v4 = *(_BYTE *)(*(_QWORD *)(a1 + 816) + 341LL);
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 880) + 936LL))(*(_QWORD *)(a1 + 880), v4);
v5 = "GJ_button_01.png";
v6 = "GJ_button_01.png";
if ( v4 )
v6 = "GJ_button_04.png";
ButtonSprite::updateBGImage(v2, v6);
LOBYTE(v7) = v4 == 0;
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 888) + 936LL))(*(_QWORD *)(a1 + 888), v7);
if ( !v4 )
v5 = "GJ_button_04.png";
ButtonSprite::updateBGImage(v3, v5);
}