//
// sub_69CE0C from 0x69ce0c to 0x69ce6e (98 bytes)
//
// 0 xrefs:
//
// 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_69CE0C(int a1, int *a2, int a3, int a4)
{
int v4; // r8
int *result; // r0
int v6; // r6
int v7; // r7
int v8; // lr
int v9; // r12
int *v10; // r9
int v11; // r2
int v12; // t1
int *v13; // t1
int v14; // r2
int *v15; // r5
int v16; // r3
v4 = *(_DWORD *)(a1 + 112);
result = *(int **)(*(_DWORD *)(a1 + 484) + 24);
v6 = *result;
v7 = result[1];
v8 = result[2];
if ( a4 > 0 )
{
v9 = a3 - 4;
v10 = &a2[a4];
do
{
v12 = *a2++;
v11 = v12;
v13 = *(int **)(v9 + 4);
v9 += 4;
result = v13;
v14 = v11 + 3;
v15 = (int *)((char *)v13 + v4);
if ( v4 )
{
do
{
v16 = *(unsigned __int8 *)(v14 - 3);
v14 += 3;
*(_BYTE *)result = *(_BYTE *)(v6 + v16)
+ *(_BYTE *)(v7 + *(unsigned __int8 *)(v14 - 5))
+ *(_BYTE *)(v8 + *(unsigned __int8 *)(v14 - 4));
result = (int *)((char *)result + 1);
}
while ( result != v15 );
}
}
while ( a2 != v10 );
}
return result;
}