//
// sub_1008FA080 from 0x1008fa080 to 0x1008fa178 (248 bytes)
//
// 1 xrefs:
// > ??> @ 0x100bb6a60
//
// 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:59 +0000
//
void __fastcall sub_1008FA080(__int64 a1)
{
__int64 v1; // rax
__int64 v2; // rax
void *v3; // rbx
*(_QWORD *)(a1 - 320) = off_100BB6458;
*(_QWORD *)a1 = off_100BB6A58;
*(_QWORD *)(a1 + 8) = &off_100BB6AC8;
*(_QWORD *)(a1 + 16) = off_100BB6AE0;
*(_QWORD *)(a1 + 24) = off_100BB6B00;
*(_QWORD *)(a1 + 32) = off_100BB6B28;
*(_QWORD *)(a1 + 88) = off_100BB6B58;
*(_QWORD *)(a1 + 112) = off_100BB6BD8;
*(_QWORD *)(a1 + 224) = off_100BB6BF8;
*(_QWORD *)(a1 + 344) = &off_100BB6C40;
*(_QWORD *)(a1 + 352) = off_100BB6C58;
*(_QWORD *)(a1 + 696) = off_100BB6C78;
v1 = *(_QWORD *)(a1 + 712);
if ( v1 )
*(_QWORD *)(v1 + 584) = 0;
v2 = *(_QWORD *)(a1 + 768);
if ( v2 )
*(_QWORD *)(v2 + 1184) = 0;
v3 = (void *)(a1 - 320);
if ( (*(_BYTE *)(a1 + 728) & 1) != 0 )
operator delete(*(void **)(a1 + 744));
SetupTriggerPopup::dSetupTriggerPopup((__int64)v3);
operator delete(v3);
}