//
// sub_1008C7D50 from 0x1008c7d50 to 0x1008c7d8c (60 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:37:33 +0000
//
void __fastcall sub_1008C7D50(__int64 a1, int a2)
{
__int64 v2; // rdi
int v3; // eax
__int64 v4; // rcx
v2 = *(_QWORD *)(a1 + 1032);
if ( v2 )
{
v3 = 5;
if ( a2 < 5 )
v3 = a2;
v4 = 0;
if ( v3 > 0 )
v4 = (unsigned int)v3;
(*(void (__fastcall **)(__int64, char *))(*(_QWORD *)v2 + 928LL))(v2, off_100BAFC10[v4]);
}
}