//
// FindObjectPopup::runFind from 0xcbcfb0 to 0xcbd008 (88 bytes)
//
// 4 xrefs:
// > FindObjectPopup::onSelect @ 0xcbd00c
// > FindObjectPopup::onFindStep @ 0xcbd048
// > FindObjectPopup::onFieldEnter @ 0xcbd050
// > ??> @ 0xa0ae0
//
// 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 13:06:15 +0000
//
__int64 __fastcall FindObjectPopup::runFind(__int64 this, int a2)
{
LevelEditorLayer **v2; // x19
int v3; // w20
GameManager *v4; // x0
unsigned __int8 GameVariable; // w0
v2 = *(LevelEditorLayer ***)(this + 1016);
if ( v2 )
{
v3 = *(_DWORD *)(this + 1164);
v4 = (GameManager *)GameManager::sharedState((GameManager *)this);
GameVariable = GameManager::getGameVariable(v4, "0232");
return EditorUI::findObject(v2, v3, GameVariable, a2);
}
return this;
}