//
// FindObjectPopup::runFind from 0x1401809f0 to 0x140180a86 (150 bytes)
//
// 3 xrefs:
// > FindObjectPopup::onFieldEnter @ 0x140180a92
// > FindObjectPopup::onFindStep @ 0x140180ac9
// > ??> @ 0x140918b78
//
// 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 11:27:36 +0000
//
// Hidden C++ exception states: #wind=1
void __fastcall FindObjectPopup::runFind(__int64 a1, unsigned int a2)
{
__int64 v4; // rcx
unsigned int v5; // ebx
__int64 v6; // rdi
unsigned __int8 GameVariable; // al
void *v8; // [rsp+30h] [rbp+8h]
if ( *(_QWORD *)(a1 + 1000) )
{
v4 = qword_14090BFD0;
if ( !qword_14090BFD0 )
{
v8 = operator new(0x6E8u);
qword_14090BFD0 = GameManager::GameManager(v8);
(*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);
v4 = qword_14090BFD0;
}
v5 = *(_DWORD *)(a1 + 1152);
v6 = *(_QWORD *)(a1 + 1000);
GameVariable = GameManager::getGameVariable(v4, "0232");
EditorUI::findObject(v6, v5, GameVariable, a2);
}
}