//
// sub_10005863C from 0x10005863c to 0x100058674 (56 bytes)
//
// 1 xrefs:
// > CustomizeObjectLayer::init @ 0x100057620
//
// 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:57:46 +0000
//
__int64 __fastcall sub_10005863C(__int64 result)
{
__int64 v1; // x19
__int64 v2; // x0
__int64 v3; // x0
if ( *(_QWORD *)(result + 688) )
{
v1 = result;
v2 = CustomizeObjectLayer::onClose(result);
v3 = GameManager::sharedState(v2);
return sub_100403E28(*(_QWORD *)(v3 + 552), *(_QWORD *)(v1 + 688));
}
return result;
}