//
// sub_8572F4 from 0x8572f4 to 0x857330 (60 bytes)
//
// 1 xrefs:
// > sub_859A58 @ 0x859ad4
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:02:37 +0000
//
int __fastcall sub_8572F4(_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_8597C4(0, a4 - a3);
a1[60] = v5;
a1[61] = 0;
a1[49] = v9;
memcpy(v9, (const void *)(a2 + a3), v5);
return 0;
}