//
// sub_77B128 from 0x77b128 to 0x77b14e (38 bytes)
//
// 0 xrefs:
//
// 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
//
unsigned int __fastcall sub_77B128(int a1, unsigned int a2, unsigned int a3, _DWORD *a4)
{
unsigned int v4; // r1
int v5; // t1
if ( a2 >= a3 )
return a3;
v4 = a2 - 1;
do
{
v5 = *(unsigned __int8 *)++v4;
*a4++ = *(_DWORD *)(a1 + 4 * (v5 + 36));
}
while ( v4 != a3 - 1 );
return a3;
}