{"type": "func", "start": 5373479728, "end": 5373479791, "name": "ShardsPage::onSwitchPage", "pseudocode": "// \n// ShardsPage::onSwitchPage from 0x14048cb30 to 0x14048cb6f (63 bytes)\n// \n// 2 xrefs:\n// > ShardsPage::init @ 0x14048c72f\n// > <???> @ 0x1406dbef4\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 ShardsPage::onSwitchPage(ShardsPage *a1, cocos2d::CCObject *a2)\n{\n  int m_page; // ebx\n  int v4; // eax\n  int v5; // edx\n\n  m_page = a1->m_page;\n  v4 = a2->getTag(a2);\n  v5 = 1;\n  if ( v4 != 1 )\n    v5 = -1;\n  ShardsPage::goToPage(a1, m_page + v5);\n}", "assembly": "; \n; ShardsPage::onSwitchPage from 0x14048cb30 to 0x14048cb6f (63 bytes)\n; \n; 2 xrefs:\n; > ShardsPage::init @ 0x14048c72f\n; > <???> @ 0x1406dbef4\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     [rsp+arg_0], rbx                                               ; +0x0, 0x14048cb30\npush    rdi                                                            ; +0x5, 0x14048cb35\nsub     rsp, 20h                                                       ; +0x6, 0x14048cb36\nmov     ebx, [rcx+298h]                                                ; +0xa, 0x14048cb3a\nmov     rdi, rcx                                                       ; +0x10, 0x14048cb40\nmov     rax, [rdx]                                                     ; +0x13, 0x14048cb43\nmov     rcx, rdx                                                       ; +0x16, 0x14048cb46\ncall    qword ptr [rax+38h]                                            ; +0x19, 0x14048cb49\nmov     edx, 1                                                         ; +0x1c, 0x14048cb4c\nmov     ecx, 0FFFFFFFFh                                                ; +0x21, 0x14048cb51\ncmp     eax, edx                                                       ; +0x26, 0x14048cb56\ncmovnz  edx, ecx                                                       ; +0x28, 0x14048cb58\nmov     rcx, rdi                                                       ; +0x2b, 0x14048cb5b\nadd     edx, ebx                                                       ; +0x2e, 0x14048cb5e\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x30, 0x14048cb60\nadd     rsp, 20h                                                       ; +0x35, 0x14048cb65\npop     rdi                                                            ; +0x39, 0x14048cb69\njmp     ShardsPage__goToPage                                           ; +0x3a, 0x14048cb6a", "xrefs": ["ShardsPage::init @ 0x14048c72f", "<???> @ 0x1406dbef4"], "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"}