//
// sub_10053CC94 from 0x10053cc94 to 0x10053cd38 (164 bytes)
//
// 2 xrefs:
// > sub_100539B8C @ 0x100539cf4
// > sub_10053A8A4 @ 0x10053af48
//
// 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_10053CC94(__int64 a1)
{
__int64 v2; // x0
__int64 v4; // [xsp+8h] [xbp-18h] BYREF
v4 = sub_100618D38(*(_QWORD *)(*(_QWORD *)(a1 + 136) + 616LL));
while ( 1 )
{
v2 = sub_100618D40(&v4);
if ( !v2 )
break;
sub_10053CD38(
a1,
(unsigned __int16)(2 * *(_WORD *)(*(_QWORD *)(v2 + 8) + 16LL) - *(_WORD *)(*(_QWORD *)(v2 + 8) + 40LL)));
}
return 1;
}