//
// sub_9326C from 0x9326c to 0x932cc (96 bytes)
//
// 3 xrefs:
// > sub_9342C @ 0x9353c
// > sub_9342C @ 0x935d8
// > sub_948D0 @ 0x948dc
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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:14:22 +0000
//
__int64 __fastcall sub_9326C(__int64 a1, int *a2)
{
unsigned int v2; // w8
__int64 v3; // x10
int v4; // w9
char v5; // w11
__int64 v7; // x12
char v8; // w14
int v9; // w12
v3 = *(unsigned int *)(a1 + 16);
v2 = *(_DWORD *)(a1 + 20);
v4 = 0;
v5 = 0;
while ( v5 != 4 && (unsigned int)v3 < v2 )
{
v7 = *(_QWORD *)(a1 + 8);
*(_DWORD *)(a1 + 16) = v3 + 1;
++v5;
v8 = *(_BYTE *)(v7 + v3++);
v9 = v8 & 0x7F | (v4 << 7);
v4 = v9;
if ( (v8 & 0x80) == 0 )
{
*a2 = v9;
return 0;
}
}
*(_BYTE *)(a1 + 36) = 1;
return 16;
}