//
// sub_1000D9098 from 0x1000d9098 to 0x1000d9108 (112 bytes)
//
// 17 xrefs:
// > sub_1000A6CC4 @ 0x1000a6e2c
// > sub_1000B6A6C @ 0x1000b6ab4
// > sub_1000B71F4 @ 0x1000b7230
// > sub_1000B79EC @ 0x1000b7a44
// > sub_1000B84F0 @ 0x1000b8540
// > sub_1000B8720 @ 0x1000b8774
// > LocalLevelManager::dataLoaded @ 0x10025f43c
// > LocalLevelManager::dataLoaded @ 0x10025f468
// > LocalLevelManager::dataLoaded @ 0x10025f540
// > sub_10029DA90 @ 0x10029dd2c
// > sub_10029DA90 @ 0x10029df50
// > sub_100518264 @ 0x100518f34
// > sub_100519720 @ 0x1005197c8
// > sub_1005302A4 @ 0x1005302ec
// > sub_10053053C @ 0x100530724
// > sub_10053053C @ 0x100530878
// > sub_100531E80 @ 0x100531ed4
//
// 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 10:58:57 +0000
//
__int64 __fastcall sub_1000D9098(__int64 a1, const void **a2)
{
const void **v2; // x22
__int64 v5; // x19
v2 = *(const void ***)(a1 + 8);
if ( v2 )
{
v5 = 1;
do
{
if ( !sub_10000A144(a1, a2, v2 + 4) )
{
if ( !sub_10000A144(a1, v2 + 4, a2) )
return v5;
++v2;
}
v2 = (const void **)*v2;
}
while ( v2 );
}
return 0;
}