//
// sub_100500E10 from 0x100500e10 to 0x100500e90 (128 bytes)
//
// 1 xrefs:
// > ThreadViewPopup::mountVirtualRow @ 0x1005002f0
//
// 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:06:53 +0000
//
__int64 __fastcall sub_100500E10(__int64 a1, int a2)
{
__int64 v4; // x0
__int64 v5; // x20
signed int v6; // w21
signed int v7; // w0
__int64 result; // x0
v4 = GameLevelManager::sharedState();
v5 = sub_1000C6DC0(v4, *(_DWORD *)(*(_QWORD *)(a1 + 752) + 56LL));
v6 = 0;
while ( 1 )
{
v7 = v5 ? sub_1002E757C(v5) : 0;
if ( v6 >= v7 )
break;
result = sub_1002E75A0(v5, v6++);
if ( *(_DWORD *)(result + 376) == a2 )
return result;
}
return 0;
}