//
// sub_1003F79A4 from 0x1003f79a4 to 0x1003f79e8 (68 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::init @ 0x1003f6f90
// > sub_100405040 @ 0x100405084
// > LevelEditorLayer::onStopPlaytest @ 0x1004052b4
//
// 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:34 +0000
//
__int64 __fastcall sub_1003F79A4(__int64 result)
{
__int64 v1; // x19
if ( *(_BYTE *)(result + 14024) == 1 )
{
v1 = result;
*(_BYTE *)(result + 14024) = 0;
GJBaseGameLayer::removeObjectFromSection(result, *(_QWORD *)(result + 12240));
return GJBaseGameLayer::removeObjectFromSection(v1, *(_QWORD *)(v1 + 12248));
}
return result;
}