//
// sub_1004F23B8 from 0x1004f23b8 to 0x1004f2448 (144 bytes)
//
// 1 xrefs:
// > sub_1004F222C @ 0x1004f2324
//
// 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:06:46 +0000
//
void __fastcall sub_1004F23B8(__int64 a1, __int64 a2, __int64 a3, __int64 a4)
{
__int64 v5; // x21
__int64 v6; // x20
__int128 v7; // q0
__int16 v8; // w8
__int64 v9; // x8
__int64 v10; // x8
if ( a2 != a3 )
{
v5 = a2 + 28;
v6 = a4 + 28;
do
{
v7 = *(_OWORD *)(v5 - 28);
*(_OWORD *)(v6 - 18) = *(_OWORD *)(v5 - 18);
*(_OWORD *)(v6 - 28) = v7;
sub_1000262F4((_QWORD *)v6, (double *)v5);
v8 = *(_WORD *)(v5 + 8);
*(_BYTE *)(v6 + 10) = *(_BYTE *)(v5 + 10);
*(_WORD *)(v6 + 8) = v8;
sub_1000262F4((_QWORD *)(v6 + 12), (double *)(v5 + 12));
v9 = *(_QWORD *)(v5 + 20);
*(_WORD *)(v6 + 28) = *(_WORD *)(v5 + 28);
*(_QWORD *)(v6 + 20) = v9;
v10 = v5 + 32;
v5 += 60;
v6 += 60;
}
while ( v10 != a3 );
}
}