//
// sub_100469F14 from 0x100469f14 to 0x100469f94 (128 bytes)
//
// 2 xrefs:
// > sub_100469C10 @ 0x100469ca8
// > sub_100469C10 @ 0x100469cb8
//
// 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 11:05:34 +0000
//
__int64 __fastcall sub_100469F14(__int64 result, _QWORD *a2)
{
unsigned int *v2; // x8
__int64 v3; // x9
__int64 *v4; // x8
unsigned __int64 v5; // x9
_DWORD *v6; // x10
_DWORD *v7; // x11
__int64 v8; // x13
_DWORD *v9; // x14
if ( result )
{
v2 = *(unsigned int **)(result + 56);
v3 = *v2;
if ( (_DWORD)v3 )
{
v4 = *((__int64 **)v2 + 2);
v5 = (unsigned __int64)&v4[v3 - 1];
v6 = (_DWORD *)a2[1];
v7 = (_DWORD *)*a2;
do
{
v8 = *v4;
if ( !*v4 )
break;
v9 = v7;
if ( v7 != v6 )
{
v9 = v7;
while ( *v9 != *(_DWORD *)(v8 + 56) )
{
if ( ++v9 == v6 )
goto LABEL_12;
}
}
if ( v9 != v6 )
*(_BYTE *)(v8 + 60) = 1;
LABEL_12:
++v4;
}
while ( (unsigned __int64)v4 <= v5 );
}
}
return result;
}