//
// PlatformerControlsPopup::onUpdate from 0x79c7e6 to 0x79c848 (98 bytes)
//
// 0 xrefs:
//
// 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
//
_DWORD *__fastcall PlatformerControlsPopup::onUpdate(_DWORD *this, cocos2d::CCObject *a2)
{
_DWORD *v2; // r4
int v3; // r2
GameLevelManager *v4; // r0
GameLevelManager *v5; // r0
int v6; // r0
v2 = this;
v3 = *(this + 182);
if ( v3 && *(_DWORD *)(v3 + 268) - *(_DWORD *)(v3 + 272) > 0 )
{
v4 = (GameLevelManager *)GameLevelManager::sharedState((GameLevelManager *)this);
*((_DWORD *)v4 + 130) = v2 + 180;
v5 = (GameLevelManager *)GameLevelManager::sharedState(v4);
GameLevelManager::getLevelControls(v5, (const char *)(*(_DWORD *)(v2[182] + 268) - *(_DWORD *)(v2[182] + 272)));
v6 = v2[198];
if ( v6 )
(*(void (__fastcall **)(int, _DWORD))(*(_DWORD *)v6 + 172))(v6, 0);
this = (_DWORD *)v2[199];
if ( this )
return (_DWORD *)(*(int (__fastcall **)(_DWORD *, int))(*this + 172))(this, 1);
}
return this;
}