//
// PlatformerControlsPopup::update from 0x10051d144 to 0x10051d188 (68 bytes)
//
// 1 xrefs:
// > ??> @ 0x10099da70
//
// 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 11:07:10 +0000
//
_QWORD *__fastcall PlatformerControlsPopup::update(__int64 a1)
{
_QWORD *result; // x0
result = *(_QWORD **)(a1 + 1064);
if ( result )
{
result = (_QWORD *)sub_1004F1170(result);
if ( (_DWORD)result != *(_DWORD *)(a1 + 1300) )
return (_QWORD *)sub_10051CF84(a1);
}
return result;
}