//
// sub_10095E970 from 0x10095e970 to 0x10095ea07 (151 bytes)
//
// 1 xrefs:
// > PlatformerControlsPopup::init @ 0x10095df53
//
// 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:38:44 +0000
//
void __fastcall sub_10095E970(_QWORD *a1)
{
__int64 v1; // rax
__int64 v3; // rax
__int64 v4; // rdi
__int64 v5; // rdi
v1 = a1[131];
if ( v1 && *(_DWORD *)(v1 + 328) > *(_DWORD *)(v1 + 332) )
{
*(_QWORD *)(GameLevelManager::sharedState() + 712) = a1 + 129;
v3 = GameLevelManager::sharedState();
sub_10057DE80(v3, *(_DWORD *)(a1[131] + 328LL) - *(_DWORD *)(a1[131] + 332LL));
v4 = a1[147];
if ( v4 )
(*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v4 + 344LL))(v4, 0);
v5 = a1[148];
if ( v5 )
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v5 + 344LL))(v5, 1);
}
}