{"type": "func", "start": 5372798032, "end": 5372798146, "name": "LevelBrowserLayer::onGoToLastPage", "pseudocode": "// \n// LevelBrowserLayer::onGoToLastPage from 0x1403e6450 to 0x1403e64c2 (114 bytes)\n// \n// 2 xrefs:\n// > LevelBrowserLayer::init @ 0x1403e3df2\n// > <???> @ 0x140924f20\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:31:43 +0000\n// \n\n// Hidden C++ exception states: #wind=2\nvoid __fastcall LevelBrowserLayer::onGoToLastPage(__int64 a1)\n{\n  __int64 v2; // rax\n  int *PageObject; // rax\n  void *v4; // [rsp+30h] [rbp+8h]\n\n  v2 = qword_14090BFD0;\n  if ( !qword_14090BFD0 )\n  {\n    v4 = operator new(0x6E8u);\n    qword_14090BFD0 = GameManager::GameManager((__int64)v4);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n    v2 = qword_14090BFD0;\n  }\n  *(_QWORD *)(v2 + 996) = 0;\n  PageObject = (int *)GJSearchObject::getPageObject(*(_QWORD *)(a1 + 664), *(_DWORD *)(a1 + 744));\n  LevelBrowserLayer::loadPage(a1, PageObject);\n}", "assembly": "; \n; LevelBrowserLayer::onGoToLastPage from 0x1403e6450 to 0x1403e64c2 (114 bytes)\n; \n; 2 xrefs:\n; > LevelBrowserLayer::init @ 0x1403e3df2\n; > <???> @ 0x140924f20\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:31:43 +0000\n; \npush    rbx                                                            ; +0x0, 0x1403e6450\nsub     rsp, 20h                                                       ; +0x2, 0x1403e6452\nmov     rbx, rcx                                                       ; +0x6, 0x1403e6456\nmov     rax, cs:qword_14090BFD0                                        ; +0x9, 0x1403e6459\ntest    rax, rax                                                       ; +0x10, 0x1403e6460\njnz     short loc_1403E6497                                            ; +0x13, 0x1403e6463\nmov     ecx, 6E8h; Size                                                ; +0x15, 0x1403e6465\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1a, 0x1403e646a\nmov     [rsp+28h+arg_0], rax                                           ; +0x1f, 0x1403e646f\nmov     rcx, rax                                                       ; +0x24, 0x1403e6474\ncall    GameManager__GameManager                                       ; +0x27, 0x1403e6477\nnop                                                                    ; +0x2c, 0x1403e647c\nmov     cs:qword_14090BFD0, rax                                        ; +0x2d, 0x1403e647d\nmov     rcx, [rax]                                                     ; +0x34, 0x1403e6484\nmov     rdx, [rcx+48h]                                                 ; +0x37, 0x1403e6487\nmov     rcx, rax                                                       ; +0x3b, 0x1403e648b\ncall    rdx                                                            ; +0x3e, 0x1403e648e\nmov     rax, cs:qword_14090BFD0                                        ; +0x40, 0x1403e6490\nxor     ecx, ecx                                                       ; +0x47, 0x1403e6497\nmov     [rax+3E4h], rcx                                                ; +0x49, 0x1403e6499\nmov     edx, [rbx+2E8h]                                                ; +0x50, 0x1403e64a0\nmov     rcx, [rbx+298h]                                                ; +0x56, 0x1403e64a6\ncall    GJSearchObject__getPageObject                                  ; +0x5d, 0x1403e64ad\nmov     rdx, rax                                                       ; +0x62, 0x1403e64b2\nmov     rcx, rbx                                                       ; +0x65, 0x1403e64b5\nadd     rsp, 20h                                                       ; +0x68, 0x1403e64b8\npop     rbx                                                            ; +0x6c, 0x1403e64bc\njmp     LevelBrowserLayer__loadPage                                    ; +0x6d, 0x1403e64bd", "xrefs": ["LevelBrowserLayer::init @ 0x1403e3df2", "<???> @ 0x140924f20"], "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"}