//
// PlatformerControlsPopup::reapplyRuntime from 0x79c85a to 0x79c88a (48 bytes)
//
// 4 xrefs:
// > PlatformerControlsPopup::onToggleSource @ 0x79cc88
// > PlatformerControlsPopup::onClose @ 0x79d0fe
// > PlatformerControlsPopup::onLevelControlsRefreshed @ 0x79dd2e
// > PlatformerControlsPopup::onApplyCreator @ 0x79e09c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:59:50 +0000
//
GJUINode *__fastcall PlatformerControlsPopup::reapplyRuntime(PlatformerControlsPopup *this)
{
GJUINode *result; // r0
int v2; // r0
int v3; // r1
result = (GJUINode *)GameManager::sharedState(this);
if ( *((_DWORD *)result + 101) )
{
result = (GJUINode *)GameManager::sharedState(result);
if ( *(_DWORD *)(*((_DWORD *)result + 101) + 11240) )
{
v2 = GameManager::sharedState(result);
return UILayer::reapplyLevelControls(*(UILayer **)(*(_DWORD *)(v2 + 404) + 11240), v3);
}
}
return result;
}