//
// MenuLayer::showTOS from 0x3f9398 to 0x3f93c4 (44 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:47:19 +0000
//
int __fastcall MenuLayer::showTOS(MenuLayer *this)
{
int *v2; // r4
int v3; // r0
int v4; // r3
*((_BYTE *)this + 328) = 0;
v2 = (int *)TOSPopup::create(this);
v3 = (*(int (__fastcall **)(MenuLayer *))(*(_DWORD *)this + 256))(this);
v4 = *v2;
v2[113] = v3;
return (*(int (__fastcall **)(int *))(v4 + 656))(v2);
}