//
// sub_10020C2BC from 0x10020c2bc to 0x10020c31c (96 bytes)
//
// 1 xrefs:
// > sub_10020C288 @ 0x10020c29c
//
// 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_10020C2BC(__int64 result, __int64 a2)
{
__int64 v2; // x22
__int64 v4; // x20
v2 = *(_QWORD *)(result + 16);
if ( v2 != a2 )
{
v4 = result;
do
{
*(_QWORD *)(v4 + 16) = v2 - 128;
sub_100017A98(v2 - 48);
sub_100017A98(v2 - 88);
result = sub_100017A98(v2 - 128);
v2 = *(_QWORD *)(v4 + 16);
}
while ( v2 != a2 );
}
return result;
}