{"type": "func", "start": 5371643936, "end": 5371644048, "name": "LevelBrowserLayer::onGoToLastPage", "pseudocode": "// \n// LevelBrowserLayer::onGoToLastPage from 0x1402cc820 to 0x1402cc890 (112 bytes)\n// \n// 2 xrefs:\n// > LevelBrowserLayer::init @ 0x1402c9e36\n// > <???> @ 0x1406d2ccc\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\nvoid LevelBrowserLayer::onGoToLastPage(LevelBrowserLayer *a1, cocos2d::CCObject *a2)\n{\n  __int64 v3; // rax\n  GJSearchObject *PageObject; // rax\n  void *v5; // [rsp+30h] [rbp+8h]\n\n  v3 = qword_1406C2ED8;\n  if ( !qword_1406C2ED8 )\n  {\n    v5 = operator new(0x668u);\n    qword_1406C2ED8 = sub_14017AB00((__int64)v5);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n    v3 = qword_1406C2ED8;\n  }\n  *(_DWORD *)(v3 + 948) = 0;\n  PageObject = GJSearchObject::getPageObject(a1->m_searchObject, a1->m_lastPage);\n  LevelBrowserLayer::loadPage(a1, PageObject);\n}", "assembly": "; \n; LevelBrowserLayer::onGoToLastPage from 0x1402cc820 to 0x1402cc890 (112 bytes)\n; \n; 2 xrefs:\n; > LevelBrowserLayer::init @ 0x1402c9e36\n; > <???> @ 0x1406d2ccc\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\npush    rbx                                                            ; +0x0, 0x1402cc820\nsub     rsp, 20h                                                       ; +0x2, 0x1402cc822\nmov     rbx, rcx                                                       ; +0x6, 0x1402cc826\nmov     rax, cs:qword_1406C2ED8                                        ; +0x9, 0x1402cc829\ntest    rax, rax                                                       ; +0x10, 0x1402cc830\njnz     short loc_1402CC864                                            ; +0x13, 0x1402cc833\nmov     ecx, 668h; Size                                                ; +0x15, 0x1402cc835\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x1a, 0x1402cc83a\nmov     [rsp+28h+arg_0], rax                                           ; +0x1f, 0x1402cc83f\nmov     rcx, rax                                                       ; +0x24, 0x1402cc844\ncall    sub_14017AB00                                                  ; +0x27, 0x1402cc847\nnop                                                                    ; +0x2c, 0x1402cc84c\nmov     cs:qword_1406C2ED8, rax                                        ; +0x2d, 0x1402cc84d\nmov     rdx, [rax]                                                     ; +0x34, 0x1402cc854\nmov     rcx, rax                                                       ; +0x37, 0x1402cc857\ncall    qword ptr [rdx+48h]                                            ; +0x3a, 0x1402cc85a\nmov     rax, cs:qword_1406C2ED8                                        ; +0x3d, 0x1402cc85d\nmov     dword ptr [rax+3B4h], 0                                        ; +0x44, 0x1402cc864\nmov     edx, [rbx+2E8h]                                                ; +0x4e, 0x1402cc86e\nmov     rcx, [rbx+298h]                                                ; +0x54, 0x1402cc874\ncall    GJSearchObject__getPageObject                                  ; +0x5b, 0x1402cc87b\nmov     rdx, rax                                                       ; +0x60, 0x1402cc880\nmov     rcx, rbx                                                       ; +0x63, 0x1402cc883\nadd     rsp, 20h                                                       ; +0x66, 0x1402cc886\npop     rbx                                                            ; +0x6a, 0x1402cc88a\njmp     LevelBrowserLayer__loadPage                                    ; +0x6b, 0x1402cc88b", "xrefs": ["LevelBrowserLayer::init @ 0x1402c9e36", "<???> @ 0x1406d2ccc"], "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"}