//
// sub_100413B44 from 0x100413b44 to 0x100413bb4 (112 bytes)
//
// 1 xrefs:
// > sub_100407958 @ 0x100408014
//
// 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:51 +0000
//
__int64 __fastcall sub_100413B44(__int64 a1, __int64 a2, __int64 a3, __int64 *a4)
{
__int64 v5; // x20
v5 = a2;
if ( a2 != a3 )
{
do
{
sub_1004138E0(a4);
*(_OWORD *)a4 = *(_OWORD *)v5;
a4[2] = *(_QWORD *)(v5 + 16);
*(_QWORD *)v5 = 0;
*(_QWORD *)(v5 + 8) = 0;
*(_QWORD *)(v5 + 16) = 0;
v5 += 24;
a4 += 3;
}
while ( v5 != a3 );
return a3;
}
return v5;
}