//
// sub_10000F4E4 from 0x10000f4e4 to 0x10000f52c (72 bytes)
//
// 1 xrefs:
// > PlayLayer::prepareCreateObjectsFromSetup @ 0x10013ef14
//
// 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:15 +0000
//
__int64 __fastcall sub_10000F4E4(__int64 result, int a2, int a3)
{
__int64 v3; // x8
__int64 v4; // x8
__int64 v5; // x9
int v6; // w11
int v7; // w10
v3 = *(_QWORD *)(result + 328);
if ( v3 )
{
v4 = *(_QWORD *)(v3 + 56);
if ( v4 )
{
while ( 1 )
{
v5 = *(_QWORD *)(v4 + 264);
v4 = *(_QWORD *)(v4 + 288);
v6 = *(_DWORD *)(v5 + 88);
v7 = a2;
if ( v6 == 1 )
goto LABEL_6;
if ( v6 == 2 )
break;
LABEL_7:
if ( !v4 )
return result;
}
v7 = a3;
LABEL_6:
*(_WORD *)(v5 + 72) = v7;
*(_BYTE *)(v5 + 74) = BYTE2(v7);
goto LABEL_7;
}
}
return result;
}