//
// sub_1000197E8 from 0x1000197e8 to 0x100019854 (108 bytes)
//
// 3 xrefs:
// > sub_1000196D0 @ 0x100019718
// > sub_100020C30 @ 0x100020cf8
// > sub_100020C30 @ 0x100020d3c
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_1000197E8(__int64 a1, __int64 a2, __int64 a3, __int64 a4)
{
__int64 v6; // x21
__int64 v8; // x23
if ( a2 != a3 )
{
v6 = a2;
v8 = 0;
do
{
sub_100019878(a1, a4, v6);
v6 += 448;
a4 += 448;
v8 -= 448;
}
while ( v6 != a3 );
}
return a4;
}