//
// sub_1008F1570 from 0x1008f1570 to 0x1008f15d4 (100 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:37:56 +0000
//
__int64 __fastcall sub_1008F1570(__int64 a1, int a2)
{
__int64 v3; // rdi
__int64 result; // rax
_QWORD *v5; // rax
v3 = *(_QWORD *)(a1 + 1096);
if ( a2 )
{
if ( !v3 )
{
v5 = LoadingCircle::create();
*(_QWORD *)(a1 + 1096) = v5;
v5[69] = *(_QWORD *)(a1 + 584);
return LoadingCircle::show((__int64)v5);
}
}
else if ( v3 )
{
result = LoadingCircle::fadeAndRemove(v3);
*(_QWORD *)(a1 + 1096) = 0;
}
return result;
}