//
// sub_1005E23F8 from 0x1005e23f8 to 0x1005e242c (52 bytes)
//
// 2 xrefs:
// > sub_100563530 @ 0x10056365c
// > sub_1005F6C44 @ 0x1005f6c90
//
// 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:09:40 +0000
//
__int64 __fastcall sub_1005E23F8(__int64 a1, int *a2)
{
int v2; // w8
_QWORD *v3; // x10
if ( !a2 )
return 31;
v2 = -1;
v3 = (_QWORD *)(a1 + 640);
do
{
v3 = (_QWORD *)*v3;
++v2;
}
while ( v3 != (_QWORD *)(a1 + 640) );
*a2 = v2;
return 0;
}