//
// PlatformerControlsPopup::onClose from 0x10095fe50 to 0x10095feb6 (102 bytes)
//
// 1 xrefs:
// > ??> @ 0x100bcb330
//
// 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:45 +0000
//
__int64 __fastcall PlatformerControlsPopup::onClose(__int64 a1, __int64 a2)
{
__int64 v2; // rdx
__int64 v3; // rax
sub_10095F600(a1);
sub_10095F7F0(a1);
if ( *(_QWORD *)(GameManager::sharedState() + 544)
&& *(_QWORD *)(*(_QWORD *)(GameManager::sharedState() + 544) + 13288LL) )
{
v3 = GameManager::sharedState();
UILayer::reapplyLevelControls(*(_QWORD *)(*(_QWORD *)(v3 + 544) + 13288LL));
}
return SetupTriggerPopup::onClose(a1, a2, v2);
}