//
// sub_10045A6D0 from 0x10045a6d0 to 0x10045a750 (128 bytes)
//
// 1 xrefs:
// > ??> @ 0x100827950
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_10045A6D0(__int64 a1)
{
__int64 *v2; // x20
__int64 *v3; // x21
_QWORD *v4; // x20
_QWORD *v5; // x19
__int64 v6; // x0
v2 = (__int64 *)(a1 + 400);
v3 = *(__int64 **)(a1 + 400);
if ( v3 != (__int64 *)(a1 + 400) )
{
do
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v3[2] + 8LL))(v3[2]);
v3 = (__int64 *)*v3;
}
while ( v3 != v2 );
}
v4 = (_QWORD *)(a1 + 424);
v5 = *(_QWORD **)(a1 + 424);
while ( v5 != v4 )
{
v6 = v5[2];
v5 = (_QWORD *)*v5;
(*(void (__fastcall **)(__int64))(*(_QWORD *)v6 + 8LL))(v6);
}
return 0;
}