//
// sub_100402294 from 0x100402294 to 0x1004022cc (56 bytes)
//
// 1 xrefs:
// > EditorUI::onPlayback @ 0x1004712d0
//
// 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:39 +0000
//
double __usercall sub_100402294@(__int64 a1@, _QWORD *a2@)
{
double *v2; // x0
double result; // d0
double *v4; // x1
v2 = *(double **)(a1 + 14816);
if ( v2 )
{
if ( *((_DWORD *)v2 + 257) == 31 )
{
(*(void (__fastcall **)(double *))(*(_QWORD *)v2 + 1360LL))(v2);
return result;
}
v4 = v2 + 223;
}
else
{
v4 = (double *)&dword_1009F7210;
}
return sub_1000262F4(a2, v4);
}