//
// sub_1003E4B38 from 0x1003e4b38 to 0x1003e4bb4 (124 bytes)
//
// 1 xrefs:
// > LevelAreaInnerLayer::init @ 0x1003e4428
//
// 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:04:24 +0000
//
__int64 __fastcall sub_1003E4B38(__int64 result)
{
__int64 v1; // x19
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v3; // [xsp+1Fh] [xbp-11h]
if ( (*(_BYTE *)(result + 424) & 1) == 0 )
{
sub_100009900(__p, "The Tower Second Floor is...\nComing Soon");
v1 = sub_10034A8F8(0, (__int64)"Locked", (__int64)__p, (__int64)"OK", 0);
if ( v3 < 0 )
operator delete(__p[0]);
return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v1 + 1312LL))(v1);
}
return result;
}