//
// FindObjectPopup::runFind from 0x1004ddb2c to 0x1004ddb8c (96 bytes)
//
// 3 xrefs:
// > sub_1004DDAB8 @ 0x1004ddabc
// > sub_1004DDAC0 @ 0x1004ddaf8
// > FindObjectPopup::onFieldEnter @ 0x1004ddc7c
//
// This function is hookable on this platform (idp: arm, 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:06:35 +0000
//
void __fastcall FindObjectPopup::runFind(__int64 a1, int a2)
{
__int64 v2; // x20
__int64 v4; // x21
__int64 v5; // x0
_BOOL4 GameVariable; // w2
v2 = *(_QWORD *)(a1 + 1016);
if ( v2 )
{
v4 = *(unsigned int *)(a1 + 1164);
v5 = GameManager::sharedState();
GameVariable = GameManager::getGameVariable(v5, "0232");
EditorUI::findObject(v2, v4, GameVariable, a2);
}
}