//
// sub_6C2D64 from 0x6c2d64 to 0x6c2df4 (144 bytes)
//
// 1 xrefs:
// > std::__ndk1::vector>::assign @ 0x6c3018
//
// 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:56:52 +0000
//
int *__fastcall sub_6C2D64(int *result, int a2, int a3)
{
int v3; // r5
int *v4; // r7
int *v6; // r4
unsigned int v7; // r1
int *v8; // r4
v3 = a2 + 4;
v4 = result;
while ( a3 != v3 - 4 )
{
v6 = (int *)v4[1];
if ( v6 )
{
*v6 = *(_DWORD *)(v3 - 4);
std::string::basic_string(v6 + 1, v3);
result = std::string::basic_string(v6 + 4, v3 + 12);
v6[7] = 0;
v6[8] = 0;
v6[9] = 0;
v7 = -991146299 * ((*(_DWORD *)(v3 + 28) - *(_DWORD *)(v3 + 24)) >> 2);
if ( v7 )
{
v8 = v6 + 7;
std::vector::allocate(v8, v7);
result = sub_6C19E4(v8, *(_DWORD *)(v3 + 24), *(_DWORD *)(v3 + 28));
}
}
v3 += 40;
v4[1] += 40;
}
return result;
}