//
// sub_5C51EC from 0x5c51ec to 0x5c525e (114 bytes)
//
// 1 xrefs:
// > std::__ndk1::vector>::assign @ 0x5c560a
//
// 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 11:53:52 +0000
//
int __fastcall sub_5C51EC(int result, int a2, const void **a3)
{
const void **v3; // r4
int v4; // r5
int v6; // r0
v3 = (const void **)(a2 + 44);
v4 = result;
while ( a3 != v3 - 11 )
{
result = *(_DWORD *)(v4 + 4);
if ( result )
{
v6 = result + 44;
*(_BYTE *)(v6 - 44) = *((_BYTE *)v3 - 44);
*(_BYTE *)(v6 - 43) = *((_BYTE *)v3 - 43);
*(_QWORD *)(v6 - 36) = *(_QWORD *)(v3 - 9);
*(_QWORD *)(v6 - 28) = *(_QWORD *)(v3 - 7);
*(_DWORD *)(v6 - 20) = *(v3 - 5);
*(_DWORD *)(v6 - 16) = *(v3 - 4);
*(_DWORD *)(v6 - 12) = *(v3 - 3);
*(_BYTE *)(v6 - 8) = *((_BYTE *)v3 - 8);
*(_DWORD *)(v6 - 4) = *(v3 - 1);
result = std::vector::vector(v6, v3);
}
v3 += 14;
*(_DWORD *)(v4 + 4) += 56;
}
return result;
}