//
// sub_10062E0B0 from 0x10062e0b0 to 0x10062e128 (120 bytes)
//
// 4 xrefs:
// > sub_100624844 @ 0x1006249a4
// > sub_100624844 @ 0x1006249b4
// > sub_10062933C @ 0x100629470
// > sub_10062933C @ 0x100629480
//
// 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_10062E0B0(__int64 a1, void *a2, int a3)
{
int v6; // w0
int v7; // w8
int v8; // w22
v6 = sub_1005AAC20(a1);
v7 = v6 + 7;
if ( v6 + 7 < 0 )
v7 = v6 + 14;
v8 = v7 >> 3;
if ( v7 >> 3 > a3 )
return 0;
bzero(a2, a3);
sub_1005AB354(a1, (_BYTE *)a2 + a3 - (__int64)v8);
return 1;
}