{"type": "func", "start": 5371644048, "end": 5371644314, "name": "LevelBrowserLayer::onGoToPage", "pseudocode": "// \n// LevelBrowserLayer::onGoToPage from 0x1402cc890 to 0x1402cc99a (266 bytes)\n// \n// 3 xrefs:\n// > LevelBrowserLayer::init @ 0x1402c9372\n// > <???> @ 0x1406d2ccc\n// > <???> @ 0x1406d2cd8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=1\nvoid LevelBrowserLayer::onGoToPage(LevelBrowserLayer *a1, cocos2d::CCObject *a2)\n{\n  GJSearchObject *m_searchObject; // rcx\n  SetIDPopup *v4; // rbx\n  SetIDPopupDelegate *v5; // rcx\n  __int64 v6; // [rsp+28h] [rbp-70h]\n  _QWORD v7[4]; // [rsp+50h] [rbp-48h] BYREF\n  __int128 v8; // [rsp+70h] [rbp-28h] BYREF\n  __int64 v9; // [rsp+80h] [rbp-18h]\n  __int64 v10; // [rsp+88h] [rbp-10h]\n\n  m_searchObject = a1->m_searchObject;\n  if ( m_searchObject )\n  {\n    v8 = 0;\n    v9 = 2;\n    v10 = 15;\n    strcpy((char *)&v8, \"Go\");\n    v7[1] = 25959;\n    v7[2] = 10;\n    v7[3] = 15;\n    v7[0] = 0x6150206F74206F47LL;\n    v4 = SetIDPopup::create(m_searchObject->m_page + 1, 1, 1000, (__int64)v7, (__int64)&v8, v6, 1, 1114636288, 0);\n    v4->setTag(v4, 3);\n    v5 = &a1->SetIDPopupDelegate;\n    if ( !a1 )\n      v5 = nullptr;\n    v4->m_delegate = v5;\n    v4->show(v4);\n  }\n}", "assembly": "; \n; LevelBrowserLayer::onGoToPage from 0x1402cc890 to 0x1402cc99a (266 bytes)\n; \n; 3 xrefs:\n; > LevelBrowserLayer::init @ 0x1402c9372\n; > <???> @ 0x1406d2ccc\n; > <???> @ 0x1406d2cd8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     r11, rsp                                                       ; +0x0, 0x1402cc890\nmov     [r11+10h], rbx                                                 ; +0x3, 0x1402cc893\npush    rdi                                                            ; +0x7, 0x1402cc897\nsub     rsp, 90h                                                       ; +0x8, 0x1402cc898\nmov     rdi, rcx                                                       ; +0xf, 0x1402cc89f\nmov     rcx, [rcx+298h]                                                ; +0x12, 0x1402cc8a2\ntest    rcx, rcx                                                       ; +0x19, 0x1402cc8a9\njz      loc_1402CC989                                                  ; +0x1c, 0x1402cc8ac\nlea     rax, [r11-28h]                                                 ; +0x22, 0x1402cc8b2\nmov     [r11+8], rax                                                   ; +0x26, 0x1402cc8b6\nxorps   xmm0, xmm0                                                     ; +0x2a, 0x1402cc8ba\nmovups  [rsp+98h+var_28], xmm0                                         ; +0x2d, 0x1402cc8bd\nmov     qword ptr [r11-18h], 2                                         ; +0x32, 0x1402cc8c2\nmov     qword ptr [r11-10h], 0Fh                                       ; +0x3a, 0x1402cc8ca\nmov     eax, 6F47h                                                     ; +0x42, 0x1402cc8d2\nmov     word ptr [rsp+98h+var_28], ax                                  ; +0x47, 0x1402cc8d7\nmov     byte ptr [rsp+98h+var_28+2], 0                                 ; +0x4c, 0x1402cc8dc\nmovups  xmmword ptr [rsp+98h+var_48], xmm0                             ; +0x51, 0x1402cc8e1\nmov     qword ptr [r11-38h], 0Ah                                       ; +0x56, 0x1402cc8e6\nmov     qword ptr [r11-30h], 0Fh                                       ; +0x5e, 0x1402cc8ee\nmovsd   xmm0, cs:qword_140584548                                       ; +0x66, 0x1402cc8f6\nmovsd   [rsp+98h+var_48], xmm0                                         ; +0x6e, 0x1402cc8fe\nmovzx   eax, cs:word_140584550                                         ; +0x74, 0x1402cc904\nmov     word ptr [rsp+98h+var_48+8], ax                                ; +0x7b, 0x1402cc90b\nmov     byte ptr [rsp+98h+var_48+0Ah], 0                               ; +0x80, 0x1402cc910\nmov     ecx, [rcx+1A8h]                                                ; +0x85, 0x1402cc915\ninc     ecx                                                            ; +0x8b, 0x1402cc91b\nmov     [rsp+98h+var_58], 0                                            ; +0x8d, 0x1402cc91d\nmovss   xmm0, cs:dword_140623210                                       ; +0x92, 0x1402cc922\nmovss   [rsp+98h+var_60], xmm0                                         ; +0x9a, 0x1402cc92a\nmov     [rsp+98h+var_68], 1                                            ; +0xa0, 0x1402cc930\nlea     rax, [r11-28h]                                                 ; +0xa8, 0x1402cc938\nmov     [r11-78h], rax                                                 ; +0xac, 0x1402cc93c\nlea     r9, [r11-48h]                                                  ; +0xb0, 0x1402cc940\nmov     edx, 1                                                         ; +0xb4, 0x1402cc944\nmov     r8d, 3E8h                                                      ; +0xb9, 0x1402cc949\ncall    SetIDPopup__create                                             ; +0xbf, 0x1402cc94f\nmov     rbx, rax                                                       ; +0xc4, 0x1402cc954\nmov     r8, [rax]                                                      ; +0xc7, 0x1402cc957\nmov     edx, 3                                                         ; +0xca, 0x1402cc95a\nmov     rcx, rax                                                       ; +0xcf, 0x1402cc95f\ncall    qword ptr [r8+40h]                                             ; +0xd2, 0x1402cc962\nlea     rcx, [rdi+230h]                                                ; +0xd6, 0x1402cc966\nxor     eax, eax                                                       ; +0xdd, 0x1402cc96d\ntest    rdi, rdi                                                       ; +0xdf, 0x1402cc96f\ncmovz   rcx, rax                                                       ; +0xe2, 0x1402cc972\nmov     [rbx+2A0h], rcx                                                ; +0xe6, 0x1402cc976\nmov     rdx, [rbx]                                                     ; +0xed, 0x1402cc97d\nmov     rcx, rbx                                                       ; +0xf0, 0x1402cc980\ncall    qword ptr [rdx+410h]                                           ; +0xf3, 0x1402cc983\nmov     rbx, [rsp+98h+arg_8]                                           ; +0xf9, 0x1402cc989\nadd     rsp, 90h                                                       ; +0x101, 0x1402cc991\npop     rdi                                                            ; +0x108, 0x1402cc998\nretn                                                                   ; +0x109, 0x1402cc999", "xrefs": ["LevelBrowserLayer::init @ 0x1402c9372", "<???> @ 0x1406d2ccc", "<???> @ 0x1406d2cd8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}