//
// sub_1002C4BE0 from 0x1002c4be0 to 0x1002c4c45 (101 bytes)
//
// 1 xrefs:
// > ??> @ 0x100906e50
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall sub_1002C4BE0(__int64 a1, __int64 a2, int a3, char a4)
{
__int64 v5; // rax
if ( *(_DWORD *)(*(_QWORD *)(a1 + 64) + 328LL) - *(_DWORD *)(*(_QWORD *)(a1 + 64) + 332LL) == a3 )
{
LevelInfoLayer::updateSideButtons((LevelInfoLayer *)(a1 - 432));
v5 = *(_QWORD *)(a1 + 64);
if ( a4 )
++*(_DWORD *)(v5 + 776);
else
++*(_DWORD *)(v5 + 780);
LevelInfoLayer::updateLabelValues((LevelInfoLayer *)(a1 - 432));
}
}