//
// sub_10011127C from 0x10011127c to 0x1001112f8 (124 bytes)
//
// 1 xrefs:
// > EditLevelLayer::init @ 0x10010fb4c
//
// 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 10:59:08 +0000
//
__int64 __fastcall sub_10011127C(__int64 result)
{
__int64 v1; // x8
__int64 v2; // x19
__int64 v3; // x20
_QWORD *v4; // x20
void *__p[2]; // [xsp+8h] [xbp-28h] BYREF
char v6; // [xsp+1Fh] [xbp-11h]
v1 = *(_QWORD *)(result + 472);
if ( v1 )
{
v2 = result;
v3 = *(unsigned int *)(v1 + 916);
sub_100009900(__p, "Set Folder");
v4 = (_QWORD *)sub_10037BFBC(v3, 1, __p);
if ( v6 < 0 )
operator delete(__p[0]);
v4[87] = v2 + 440;
return (*(__int64 (__fastcall **)(_QWORD *))(*v4 + 1312LL))(v4);
}
return result;
}