//
// sub_1008B6D00 from 0x1008b6d00 to 0x1008b6e08 (264 bytes)
//
// 1 xrefs:
// > ??> @ 0x100baf208
//
// 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:24 +0000
//
__int64 __fastcall sub_1008B6D00(_QWORD *a1)
{
__int64 v1; // rax
*(a1 - 40) = off_100BAEBF8;
*a1 = off_100BAF208;
a1[1] = &off_100BAF278;
a1[2] = off_100BAF290;
a1[3] = off_100BAF2B0;
a1[4] = off_100BAF2D8;
a1[11] = off_100BAF308;
a1[14] = off_100BAF388;
a1[28] = off_100BAF3A8;
a1[43] = &off_100BAF3F0;
a1[44] = off_100BAF408;
a1[87] = off_100BAF428;
a1[88] = &off_100BAF448;
a1[89] = &off_100BAF460;
if ( *(_QWORD **)(GameLevelManager::sharedState() + 1360) == a1 + 87 )
*(_QWORD *)(GameLevelManager::sharedState() + 1360) = 0;
v1 = a1[92];
if ( v1 )
*(_QWORD *)(v1 + 664) = 0;
return SetupTriggerPopup::dSetupTriggerPopup((__int64)(a1 - 40));
}