//
// LevelAreaInnerLayer::tryResumeTowerMusic from 0xb5a058 to 0xb5a100 (168 bytes)
//
// 3 xrefs:
// > ??> @ 0xd4fc8
// > LevelAreaInnerLayer::init @ 0xb5cee0
// > ??> @ 0x1546568
//
// 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:02:08 +0000
//
__int64 __fastcall LevelAreaInnerLayer::tryResumeTowerMusic(LevelAreaInnerLayer *this)
{
__int64 v1; // x0
unsigned __int8 v3; // [xsp+20h] [xbp+20h] BYREF
char v4[13]; // [xsp+21h] [xbp+21h] BYREF
__int16 v5; // [xsp+2Eh] [xbp+2Eh]
void *v6; // [xsp+30h] [xbp+30h]
v1 = GameManager::sharedState(_stack_chk_guard);
v4[12] = 0;
v5 = 0;
v6 = nullptr;
v3 = 22;
strcpy(v4, "tower01.mp3");
GameManager::fadeInMusic(v1, &v3);
if ( (v3 & 1) != 0 )
operator delete(v6);
return _stack_chk_guard;
}