//
// sub_2B433C from 0x2b433c to 0x2b438e (82 bytes)
//
// 2 xrefs:
// > sub_67E2C4 @ 0x67e4a8
// > sub_67E4B0 @ 0x67e816
//
// 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_2B433C(int a1, unsigned __int8 *a2)
{
int v2; // r9
int v3; // r8
int v5; // r12
int v6; // r7
_DWORD *v7; // r2
int v8; // r6
int v9; // r5
int v10; // r3
int result; // r0
v2 = a2[7];
v3 = a2[9];
v5 = a2[5];
v6 = a2[11];
v7 = *(_DWORD **)a1;
v8 = a2[8];
v9 = a2[10];
v10 = a2[6];
v7[9] = v6;
v7[7] = v8 + (v2 << 8);
v7[8] = v9 + (v3 << 8);
v7[6] = v10 + (v5 << 8);
*(_DWORD *)(*(_DWORD *)a1 + 20) = 78;
result = (*(int (__fastcall **)(int, int))(*(_DWORD *)a1 + 4))(a1, 1);
*(_BYTE *)(a1 + 300) = v6;
*(_DWORD *)(a1 + 296) = 1;
return result;
}