//
// sub_647274 from 0x647274 to 0x6472b0 (60 bytes)
//
// 1 xrefs:
// > sub_6499D8 @ 0x649a54
//
// 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
//
int __fastcall sub_647274(_DWORD *a1, int a2, int a3, int a4)
{
size_t v5; // r6
void *v9; // r0
if ( a1[49] )
return 1;
v5 = a4 - a3;
v9 = (void *)sub_649744(0, a4 - a3);
a1[60] = v5;
a1[61] = 0;
a1[49] = v9;
memcpy(v9, (const void *)(a2 + a3), v5);
return 0;
}