{"type": "func", "start": 5372799824, "end": 5372799940, "name": "LevelBrowserLayer::onNextPage", "pseudocode": "// \n// LevelBrowserLayer::onNextPage from 0x1403e6b50 to 0x1403e6bc4 (116 bytes)\n// \n// 3 xrefs:\n// > LevelBrowserLayer::keyDown @ 0x1403e6d5a\n// > LevelBrowserLayer::init @ 0x1403e276b\n// > <???> @ 0x140924f8c\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\nvoid __fastcall LevelBrowserLayer::onNextPage(__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(\n                        *(_QWORD *)(a1 + 664),\n                        *(_DWORD *)(*(_QWORD *)(a1 + 664) + 424LL) + 1);\n  LevelBrowserLayer::loadPage(a1, PageObject);\n}", "assembly": "; \n; LevelBrowserLayer::onNextPage from 0x1403e6b50 to 0x1403e6bc4 (116 bytes)\n; \n; 3 xrefs:\n; > LevelBrowserLayer::keyDown @ 0x1403e6d5a\n; > LevelBrowserLayer::init @ 0x1403e276b\n; > <???> @ 0x140924f8c\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, 0x1403e6b50\nsub     rsp, 20h                                                       ; +0x2, 0x1403e6b52\nmov     rbx, rcx                                                       ; +0x6, 0x1403e6b56\nmov     rax, cs:qword_14090BFD0                                        ; +0x9, 0x1403e6b59\ntest    rax, rax                                                       ; +0x10, 0x1403e6b60\njnz     short loc_1403E6B97                                            ; +0x13, 0x1403e6b63\nmov     ecx, 6E8h; Size                                                ; +0x15, 0x1403e6b65\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1a, 0x1403e6b6a\nmov     [rsp+28h+arg_0], rax                                           ; +0x1f, 0x1403e6b6f\nmov     rcx, rax                                                       ; +0x24, 0x1403e6b74\ncall    GameManager__GameManager                                       ; +0x27, 0x1403e6b77\nnop                                                                    ; +0x2c, 0x1403e6b7c\nmov     cs:qword_14090BFD0, rax                                        ; +0x2d, 0x1403e6b7d\nmov     rcx, [rax]                                                     ; +0x34, 0x1403e6b84\nmov     rdx, [rcx+48h]                                                 ; +0x37, 0x1403e6b87\nmov     rcx, rax                                                       ; +0x3b, 0x1403e6b8b\ncall    rdx                                                            ; +0x3e, 0x1403e6b8e\nmov     rax, cs:qword_14090BFD0                                        ; +0x40, 0x1403e6b90\nxor     ecx, ecx                                                       ; +0x47, 0x1403e6b97\nmov     [rax+3E4h], rcx                                                ; +0x49, 0x1403e6b99\nmov     rcx, [rbx+298h]                                                ; +0x50, 0x1403e6ba0\nmov     edx, [rcx+1A8h]                                                ; +0x57, 0x1403e6ba7\ninc     edx                                                            ; +0x5d, 0x1403e6bad\ncall    GJSearchObject__getPageObject                                  ; +0x5f, 0x1403e6baf\nmov     rdx, rax                                                       ; +0x64, 0x1403e6bb4\nmov     rcx, rbx                                                       ; +0x67, 0x1403e6bb7\nadd     rsp, 20h                                                       ; +0x6a, 0x1403e6bba\npop     rbx                                                            ; +0x6e, 0x1403e6bbe\njmp     LevelBrowserLayer__loadPage                                    ; +0x6f, 0x1403e6bbf", "xrefs": ["LevelBrowserLayer::keyDown @ 0x1403e6d5a", "LevelBrowserLayer::init @ 0x1403e276b", "<???> @ 0x140924f8c"], "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"}