//
// sub_100432370 from 0x100432370 to 0x10043247b (267 bytes)
//
// 1 xrefs:
// > SFXBrowser::setupList @ 0x100431028
//
// 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 12:30:22 +0000
//
__int64 __fastcall sub_100432370(__int64 a1)
{
__int64 result; // rax
__int64 v3; // rax
const char *v4; // r14
const char *v5; // rsi
__int64 v6; // rax
const char *v7; // rsi
__int64 v8; // rdi
__int64 v9; // rax
__int64 v10; // r14
__int64 v11; // rax
const char *v12; // rsi
__int64 v13; // rax
if ( *(_QWORD *)(a1 + 712) )
{
v3 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 880) + 1072LL))(*(_QWORD *)(a1 + 880));
v4 = "GJ_button_01.png";
v5 = "GJ_button_01.png";
if ( *(_DWORD *)(*(_QWORD *)(a1 + 712) + 140LL) == 1 )
v5 = "GJ_button_02.png";
ButtonSprite::updateBGImage(v3, (__int64)v5);
v6 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 888) + 1072LL))(*(_QWORD *)(a1 + 888));
v7 = "GJ_button_01.png";
if ( *(_DWORD *)(*(_QWORD *)(a1 + 712) + 140LL) == 2 )
v7 = "GJ_button_02.png";
ButtonSprite::updateBGImage(v6, (__int64)v7);
v8 = *(_QWORD *)(a1 + 896);
if ( v8 )
{
v9 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1072LL))(v8);
if ( *(_DWORD *)(*(_QWORD *)(a1 + 712) + 140LL) == 3 )
v4 = "GJ_button_02.png";
ButtonSprite::updateBGImage(v9, (__int64)v4);
}
v10 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 904) + 1072LL))(*(_QWORD *)(a1 + 904));
v11 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache();
v12 = "GJ_customSFXButton_001.png";
if ( *(_DWORD *)(a1 + 1116) == 4 )
v12 = "GJ_mainSFXButton_001.png";
v13 = cocos2d::CCSpriteFrameCache::spriteFrameByName(v11, v12);
return (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v10 + 1160LL))(v10, v13);
}
return result;
}