//
// sub_100403910 from 0x100403910 to 0x1004039b4 (164 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::onStopPlaytest @ 0x100405544
//
// 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:40 +0000
//
__int64 __fastcall sub_100403910(_QWORD *a1)
{
__int64 v2; // x20
__int64 result; // x0
unsigned int v4; // w21
__int64 v5; // x22
float64x2_t v6; // q0
__int64 v7; // [xsp+8h] [xbp-28h] BYREF
v2 = a1[410];
result = sub_1002E757C(v2);
if ( (_DWORD)result )
{
v4 = 0;
do
{
v5 = sub_1002E75A0(v2, v4);
v6 = sub_1002F33C0(v5);
(*(void (__fastcall **)(__int64 *__return_ptr, __int64, float64x2_t))(*(_QWORD *)v5 + 1360LL))(&v7, v5, v6);
(*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v5 + 184LL))(v5, &v7);
(*(void (__fastcall **)(_QWORD *, __int64))(*a1 + 1368LL))(a1, v5);
++v4;
result = sub_1002E757C(v2);
}
while ( v4 < (unsigned int)result );
}
return result;
}