//
// sub_1004B0A10 from 0x1004b0a10 to 0x1004b0a68 (88 bytes)
//
// 1 xrefs:
// > sub_1004AFFA0 @ 0x1004affd8
//
// 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_1004B0A10(__int64 a1, int a2, int *a3, void *__src, int a5)
{
__int64 v5; // x8
v5 = *a3;
if ( (int)v5 + a5 > a2 )
return 31;
memcpy((void *)(a1 + v5), __src, a5);
*a3 += a5;
return 0;
}