//
// sub_1009505B0 from 0x1009505b0 to 0x1009506a1 (241 bytes)
//
// 1 xrefs:
// > ??> @ 0x100bc80d0
//
// 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:38:38 +0000
//
__int64 __fastcall sub_1009505B0(_QWORD *a1)
{
__int64 v1; // rax
__int64 v2; // rax
__int64 v3; // rax
__int64 v4; // rax
__int64 v5; // rdi
*(a1 - 40) = off_100BC7AE0;
*a1 = off_100BC80D0;
a1[1] = &off_100BC8140;
a1[2] = off_100BC8158;
a1[3] = off_100BC8178;
a1[4] = off_100BC81A0;
a1[11] = off_100BC81D0;
a1[14] = off_100BC8250;
a1[28] = off_100BC8270;
a1[43] = &off_100BC82B8;
a1[44] = off_100BC82D0;
v1 = a1[88];
if ( v1 )
*(_QWORD *)(v1 + 584) = 0;
v2 = a1[89];
if ( v2 )
*(_QWORD *)(v2 + 584) = 0;
v3 = a1[90];
if ( v3 )
*(_QWORD *)(v3 + 584) = 0;
v4 = a1[91];
v5 = (__int64)(a1 - 40);
if ( v4 )
*(_QWORD *)(v4 + 584) = 0;
return SetupTriggerPopup::dSetupTriggerPopup(v5);
}