//
// PlatformerControlsPopup::reapplyRuntime from 0xcfa5fc to 0xcfa63c (64 bytes)
//
// 5 xrefs:
// > PlatformerControlsPopup::onToggleSource @ 0xcfac8c
// > PlatformerControlsPopup::onLevelControlsRefreshed @ 0xcfbc50
// > PlatformerControlsPopup::onClose @ 0xcfc4ac
// > PlatformerControlsPopup::onApplyCreator @ 0xcfc558
// > ??> @ 0x60a60
//
// This function is hookable on this platform (idp: arm, 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 13:06:50 +0000
//
GameManager *__fastcall PlatformerControlsPopup::reapplyRuntime(PlatformerControlsPopup *this)
{
GameManager *result; // x0
__int64 v2; // x0
result = *(GameManager **)(GameManager::sharedState(this) + 544);
if ( result )
{
result = *(GameManager **)(*(_QWORD *)(GameManager::sharedState(result) + 544) + 13288LL);
if ( result )
{
v2 = GameManager::sharedState(result);
return (GameManager *)UILayer::reapplyLevelControls(*(UILayer **)(*(_QWORD *)(v2 + 544) + 13288LL));
}
}
return result;
}