//
// sub_100628084 from 0x100628084 to 0x1006280ec (104 bytes)
//
// 1 xrefs:
// > sub_100627F6C @ 0x100627fe4
//
// 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:10:23 +0000
//
__int64 __fastcall sub_100628084(__int64 a1, __int64 a2, __int64 a3, __int64 a4, __int64 a5, __int64 a6)
{
__int64 result; // x0
unsigned int *v9; // [xsp+8h] [xbp-18h] BYREF
*(_QWORD *)(a1 + 432) = a5;
v9 = nullptr;
result = (*(__int64 (__fastcall **)(__int64, __int64, unsigned int **, _QWORD))(a6 + 240))(a6, a4, &v9, 0);
if ( !(_DWORD)result )
return sub_100628604(a1, a2, *(unsigned int *)(*(_QWORD *)(a1 + 8) + 16LL), *v9, v9 + 2);
return result;
}