{"type": "func", "start": 5370284752, "end": 5370285085, "name": "FindObjectPopup::onOptions", "pseudocode": "// \n// FindObjectPopup::onOptions from 0x140180ad0 to 0x140180c1d (333 bytes)\n// \n// 2 xrefs:\n// > FindObjectPopup::onBuildWindowContent @ 0x1401808e8\n// > <???> @ 0x140918b90\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\n__int64 FindObjectPopup::onOptions()\n{\n  void *v0; // rbx\n  __int64 (__fastcall *v1)(void *); // rdx\n\n  v0 = operator new(0x470u);\n  memset(v0, 0, 0x470u);\n  GJOptionsLayer::GJOptionsLayer((__int64)v0);\n  *(_QWORD *)v0 = &FindObjectOptionsLayer::`vftable';\n  *((_QWORD *)v0 + 40) = &FindObjectOptionsLayer::`vftable';\n  *((_QWORD *)v0 + 41) = &FindObjectOptionsLayer::`vftable';\n  *((_QWORD *)v0 + 42) = &FindObjectOptionsLayer::`vftable';\n  *((_QWORD *)v0 + 43) = &FindObjectOptionsLayer::`vftable';\n  *((_QWORD *)v0 + 44) = &FindObjectOptionsLayer::`vftable';\n  *((_QWORD *)v0 + 51) = &FindObjectOptionsLayer::`vftable';\n  *((_QWORD *)v0 + 54) = &FindObjectOptionsLayer::`vftable';\n  *((_QWORD *)v0 + 68) = &FindObjectOptionsLayer::`vftable';\n  *((_QWORD *)v0 + 83) = &FindObjectOptionsLayer::`vftable';\n  *((_QWORD *)v0 + 84) = &FindObjectOptionsLayer::`vftable';\n  *((_DWORD *)v0 + 250) = 1108344832;\n  *((_DWORD *)v0 + 255) = 1053609165;\n  if ( (unsigned __int8)GJOptionsLayer::init(v0, 1) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);\n  }\n  else\n  {\n    (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v0 + 8LL))(v0, 1);\n    v0 = nullptr;\n  }\n  v1 = *(__int64 (__fastcall **)(void *))(*(_QWORD *)v0 + 1064LL);\n  if ( (char *)v1 == (char *)SetupTriggerPopup::show )\n    return SetupTriggerPopup::show(v0);\n  else\n    return v1(v0);\n}", "assembly": "; \n; FindObjectPopup::onOptions from 0x140180ad0 to 0x140180c1d (333 bytes)\n; \n; 2 xrefs:\n; > FindObjectPopup::onBuildWindowContent @ 0x1401808e8\n; > <???> @ 0x140918b90\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; \npush    rbx                                                            ; +0x0, 0x140180ad0\nsub     rsp, 20h                                                       ; +0x2, 0x140180ad2\nmov     ecx, 470h; Size                                                ; +0x6, 0x140180ad6\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xb, 0x140180adb\nmov     rbx, rax                                                       ; +0x10, 0x140180ae0\nmov     [rsp+28h+arg_10], rax                                          ; +0x13, 0x140180ae3\nxor     edx, edx; Val                                                  ; +0x18, 0x140180ae8\nmov     r8d, 470h; Size                                                ; +0x1a, 0x140180aea\nmov     rcx, rax; void *                                               ; +0x20, 0x140180af0\ncall    memset                                                         ; +0x23, 0x140180af3\nmov     rcx, rbx                                                       ; +0x28, 0x140180af8\ncall    GJOptionsLayer__GJOptionsLayer                                 ; +0x2b, 0x140180afb\nlea     rax, ??_7FindObjectOptionsLayer@@6B@; const FindObjectOptionsLayer::`vftable' ; +0x30, 0x140180b00\nmov     [rbx], rax                                                     ; +0x37, 0x140180b07\nlea     rax, ??_7FindObjectOptionsLayer@@6B@_0; const FindObjectOptionsLayer::`vftable' ; +0x3a, 0x140180b0a\nmov     [rbx+140h], rax                                                ; +0x41, 0x140180b11\nlea     rax, ??_7FindObjectOptionsLayer@@6B@_1; const FindObjectOptionsLayer::`vftable' ; +0x48, 0x140180b18\nmov     [rbx+148h], rax                                                ; +0x4f, 0x140180b1f\nlea     rax, ??_7FindObjectOptionsLayer@@6B@_2; const FindObjectOptionsLayer::`vftable' ; +0x56, 0x140180b26\nmov     [rbx+150h], rax                                                ; +0x5d, 0x140180b2d\nlea     rax, ??_7FindObjectOptionsLayer@@6B@_3; const FindObjectOptionsLayer::`vftable' ; +0x64, 0x140180b34\nmov     [rbx+158h], rax                                                ; +0x6b, 0x140180b3b\nlea     rax, ??_7FindObjectOptionsLayer@@6B@_4; const FindObjectOptionsLayer::`vftable' ; +0x72, 0x140180b42\nmov     [rbx+160h], rax                                                ; +0x79, 0x140180b49\nlea     rax, ??_7FindObjectOptionsLayer@@6B@_5; const FindObjectOptionsLayer::`vftable' ; +0x80, 0x140180b50\nmov     [rbx+198h], rax                                                ; +0x87, 0x140180b57\nlea     rax, ??_7FindObjectOptionsLayer@@6B@_6; const FindObjectOptionsLayer::`vftable' ; +0x8e, 0x140180b5e\nmov     [rbx+1B0h], rax                                                ; +0x95, 0x140180b65\nlea     rax, ??_7FindObjectOptionsLayer@@6B@_7; const FindObjectOptionsLayer::`vftable' ; +0x9c, 0x140180b6c\nmov     [rbx+220h], rax                                                ; +0xa3, 0x140180b73\nlea     rax, ??_7FindObjectOptionsLayer@@6B@_8; const FindObjectOptionsLayer::`vftable' ; +0xaa, 0x140180b7a\nmov     [rbx+298h], rax                                                ; +0xb1, 0x140180b81\nlea     rax, ??_7FindObjectOptionsLayer@@6B@_9; const FindObjectOptionsLayer::`vftable' ; +0xb8, 0x140180b88\nmov     [rbx+2A0h], rax                                                ; +0xbf, 0x140180b8f\nmov     rax, cs:off_140749658                                          ; +0xc6, 0x140180b96\nlea     rcx, FindObjectOptionsLayer__init                              ; +0xcd, 0x140180b9d\ncmp     rax, rcx                                                       ; +0xd4, 0x140180ba4\nmov     rcx, rbx                                                       ; +0xd7, 0x140180ba7\njnz     short loc_140180BD4                                            ; +0xda, 0x140180baa\nmov     dword ptr [rbx+3E8h], 42100000h                                ; +0xdc, 0x140180bac\nmov     dword ptr [rbx+3FCh], 3ECCCCCDh                                ; +0xe6, 0x140180bb6\nmovss   xmm2, cs:dword_1408357D0                                       ; +0xf0, 0x140180bc0\nmov     edx, 1                                                         ; +0xf8, 0x140180bc8\ncall    GJOptionsLayer__init                                           ; +0xfd, 0x140180bcd\njmp     short loc_140180BD6                                            ; +0x102, 0x140180bd2\ncall    rax ; FindObjectOptionsLayer__init                             ; +0x104, 0x140180bd4\nmov     rcx, rbx                                                       ; +0x106, 0x140180bd6\ntest    al, al                                                         ; +0x109, 0x140180bd9\njz      short loc_140180BE5                                            ; +0x10b, 0x140180bdb\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x10d, 0x140180bdd\njmp     short loc_140180BF2                                            ; +0x113, 0x140180be3\nmov     rax, [rbx]                                                     ; +0x115, 0x140180be5\nmov     edx, 1                                                         ; +0x118, 0x140180be8\ncall    qword ptr [rax+8]                                              ; +0x11d, 0x140180bed\nxor     ebx, ebx                                                       ; +0x120, 0x140180bf0\nmov     rax, [rbx]                                                     ; +0x122, 0x140180bf2\nmov     rdx, [rax+428h]                                                ; +0x125, 0x140180bf5\nlea     rax, SetupTriggerPopup__show; Merged with: SetupTriggerPopup::show, SetTextPopup::show ; +0x12c, 0x140180bfc\nmov     rcx, rbx                                                       ; +0x133, 0x140180c03\ncmp     rdx, rax                                                       ; +0x136, 0x140180c06\njnz     short loc_140180C15                                            ; +0x139, 0x140180c09\nadd     rsp, 20h                                                       ; +0x13b, 0x140180c0b\npop     rbx                                                            ; +0x13f, 0x140180c0f\njmp     SetupTriggerPopup__show; Merged with: SetupTriggerPopup::show, SetTextPopup::show ; +0x140, 0x140180c10\nadd     rsp, 20h                                                       ; +0x145, 0x140180c15\npop     rbx                                                            ; +0x149, 0x140180c19\njmp     rdx                                                            ; +0x14a, 0x140180c1a", "xrefs": ["FindObjectPopup::onBuildWindowContent @ 0x1401808e8", "<???> @ 0x140918b90"], "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"}