{"type": "func", "start": 5370284528, "end": 5370284678, "name": "FindObjectPopup::runFind", "pseudocode": "// \n// FindObjectPopup::runFind from 0x1401809f0 to 0x140180a86 (150 bytes)\n// \n// 3 xrefs:\n// > FindObjectPopup::onFieldEnter @ 0x140180a92\n// > FindObjectPopup::onFindStep @ 0x140180ac9\n// > <???> @ 0x140918b78\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:27:36 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid __fastcall FindObjectPopup::runFind(__int64 a1, unsigned int a2)\n{\n  __int64 v4; // rcx\n  unsigned int v5; // ebx\n  __int64 v6; // rdi\n  unsigned __int8 GameVariable; // al\n  void *v8; // [rsp+30h] [rbp+8h]\n\n  if ( *(_QWORD *)(a1 + 1000) )\n  {\n    v4 = qword_14090BFD0;\n    if ( !qword_14090BFD0 )\n    {\n      v8 = operator new(0x6E8u);\n      qword_14090BFD0 = GameManager::GameManager(v8);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n      v4 = qword_14090BFD0;\n    }\n    v5 = *(_DWORD *)(a1 + 1152);\n    v6 = *(_QWORD *)(a1 + 1000);\n    GameVariable = GameManager::getGameVariable(v4, \"0232\");\n    EditorUI::findObject(v6, v5, GameVariable, a2);\n  }\n}", "assembly": "; \n; FindObjectPopup::runFind from 0x1401809f0 to 0x140180a86 (150 bytes)\n; \n; 3 xrefs:\n; > FindObjectPopup::onFieldEnter @ 0x140180a92\n; > FindObjectPopup::onFindStep @ 0x140180ac9\n; > <???> @ 0x140918b78\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:27:36 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1401809f0\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x1401809f5\npush    rdi                                                            ; +0xa, 0x1401809fa\nsub     rsp, 20h                                                       ; +0xb, 0x1401809fb\nmov     esi, edx                                                       ; +0xf, 0x1401809ff\nmov     rdi, rcx                                                       ; +0x11, 0x140180a01\ncmp     qword ptr [rcx+3E8h], 0                                        ; +0x14, 0x140180a04\njz      short loc_140180A76                                            ; +0x1c, 0x140180a0c\nmov     rcx, cs:qword_14090BFD0                                        ; +0x1e, 0x140180a0e\ntest    rcx, rcx                                                       ; +0x25, 0x140180a15\njnz     short loc_140180A4C                                            ; +0x28, 0x140180a18\nmov     ecx, 6E8h; Size                                                ; +0x2a, 0x140180a1a\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2f, 0x140180a1f\nmov     [rsp+28h+arg_0], rax                                           ; +0x34, 0x140180a24\nmov     rcx, rax                                                       ; +0x39, 0x140180a29\ncall    GameManager__GameManager                                       ; +0x3c, 0x140180a2c\nnop                                                                    ; +0x41, 0x140180a31\nmov     cs:qword_14090BFD0, rax                                        ; +0x42, 0x140180a32\nmov     rcx, [rax]                                                     ; +0x49, 0x140180a39\nmov     rdx, [rcx+48h]                                                 ; +0x4c, 0x140180a3c\nmov     rcx, rax                                                       ; +0x50, 0x140180a40\ncall    rdx                                                            ; +0x53, 0x140180a43\nmov     rcx, cs:qword_14090BFD0                                        ; +0x55, 0x140180a45\nmov     ebx, [rdi+480h]                                                ; +0x5c, 0x140180a4c\nmov     rdi, [rdi+3E8h]                                                ; +0x62, 0x140180a52\nlea     rdx, a0232; \"0232\"                                             ; +0x69, 0x140180a59\ncall    GameManager__getGameVariable                                   ; +0x70, 0x140180a60\nmovzx   r8d, al                                                        ; +0x75, 0x140180a65\nmov     r9d, esi                                                       ; +0x79, 0x140180a69\nmov     edx, ebx                                                       ; +0x7c, 0x140180a6c\nmov     rcx, rdi                                                       ; +0x7e, 0x140180a6e\ncall    EditorUI__findObject                                           ; +0x81, 0x140180a71\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x86, 0x140180a76\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x8b, 0x140180a7b\nadd     rsp, 20h                                                       ; +0x90, 0x140180a80\npop     rdi                                                            ; +0x94, 0x140180a84\nretn                                                                   ; +0x95, 0x140180a85", "xrefs": ["FindObjectPopup::onFieldEnter @ 0x140180a92", "FindObjectPopup::onFindStep @ 0x140180ac9", "<???> @ 0x140918b78"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}