//
// sub_1009065D0 from 0x1009065d0 to 0x100906643 (115 bytes)
//
// 1 xrefs:
// > FindObjectPopup::onBuildWindowContent @ 0x10090633f
//
// 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:05 +0000
//
void __fastcall sub_1009065D0(__int64 a1, __int64 a2, double a3)
{
int v3; // eax
__int64 v4; // rbx
unsigned int v5; // r15d
int v6; // r14d
__int64 v7; // rax
unsigned __int8 GameVariable; // al
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
v4 = *(_QWORD *)(a1 + 1016);
if ( v4 )
{
v5 = 2 * (v3 != 1) - 1;
v6 = *(_DWORD *)(a1 + 1164);
v7 = GameManager::sharedState();
GameVariable = GameManager::getGameVariable(v7, "0232");
EditorUI::findObject(v4, v6, GameVariable, v5, a3);
}
}