//
// sub_1003FFA44 from 0x1003ffa44 to 0x1003ffafc (184 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::updateEditor @ 0x1003f8220
//
// 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:38 +0000
//
_DWORD *__fastcall sub_1003FFA44(__int64 a1)
{
__int64 v2; // x8
__int64 v3; // x8
_DWORD *v4; // x20
_DWORD *result; // x0
__int64 v6; // x21
__int64 v7; // x0
v2 = *(_QWORD *)(a1 + 12416);
if ( v2 && (*(_BYTE *)(v2 + 1078) & 1) != 0 )
v3 = 3936;
else
v3 = 3920;
v4 = *(_DWORD **)(a1 + v3);
result = (_DWORD *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 14288) + 512LL))(*(_QWORD *)(a1 + 14288));
if ( result != v4 )
{
cocos2d::CCObject::retain(*(_QWORD *)(a1 + 14288));
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 14288) + 528LL))(*(_QWORD *)(a1 + 14288), 0);
v6 = *(_QWORD *)(a1 + 14288);
v7 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 104LL))(v6);
(*(void (__fastcall **)(_DWORD *, __int64, __int64))(*(_QWORD *)v4 + 464LL))(v4, v6, v7);
return cocos2d::CCObject::release(*(_DWORD **)(a1 + 14288));
}
return result;
}