//
// UIPOptionsLayer::onClose from 0x1002a56e0 to 0x1002a5753 (115 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b0a690
//
// 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:27:56 +0000
//
__int64 __fastcall UIPOptionsLayer::onClose(__int64 a1, __int64 a2)
{
__int64 v3; // rdi
_QWORD *v4; // r15
__int64 v5; // rdx
__int64 v6; // rax
__int64 v7; // rdi
__int64 v8; // rdx
__int64 v9; // rdx
__int64 v10; // rax
double v11; // xmm0_8
__int64 v12; // rax
v3 = *(_QWORD *)(a1 + 1016);
v4 = (_QWORD *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 192LL))(v3);
GameManager::sharedState(v3, a2, v5);
v7 = v6 + 1704;
sub_100278300((_QWORD *)(v6 + 1704), v4);
GameManager::sharedState(v7, v4, v8);
if ( *(_QWORD *)(v10 + 544) )
{
*(_QWORD *)&v11 = GameManager::sharedState(v7, v4, v9).u64[0];
UILayer::updateCheckState(*(_QWORD *)(*(_QWORD *)(v12 + 544) + 13288LL), v11);
}
return SetupTriggerPopup::onClose(a1, a2, v9);
}