{"type": "func", "start": 5369323712, "end": 5369323775, "name": "CommunityCreditsPage::onSwitchPage", "pseudocode": "// \n// CommunityCreditsPage::onSwitchPage from 0x1400960c0 to 0x1400960ff (63 bytes)\n// \n// 2 xrefs:\n// > CommunityCreditsPage::init @ 0x140095e7f\n// > <???> @ 0x1406c71e8\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 CommunityCreditsPage::onSwitchPage(CommunityCreditsPage *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  CommunityCreditsPage::goToPage(a1, m_page + v5);\n}", "assembly": "; \n; CommunityCreditsPage::onSwitchPage from 0x1400960c0 to 0x1400960ff (63 bytes)\n; \n; 2 xrefs:\n; > CommunityCreditsPage::init @ 0x140095e7f\n; > <???> @ 0x1406c71e8\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, 0x1400960c0\npush    rdi                                                            ; +0x5, 0x1400960c5\nsub     rsp, 20h                                                       ; +0x6, 0x1400960c6\nmov     ebx, [rcx+290h]                                                ; +0xa, 0x1400960ca\nmov     rdi, rcx                                                       ; +0x10, 0x1400960d0\nmov     rax, [rdx]                                                     ; +0x13, 0x1400960d3\nmov     rcx, rdx                                                       ; +0x16, 0x1400960d6\ncall    qword ptr [rax+38h]                                            ; +0x19, 0x1400960d9\nmov     edx, 1                                                         ; +0x1c, 0x1400960dc\nmov     ecx, 0FFFFFFFFh                                                ; +0x21, 0x1400960e1\ncmp     eax, edx                                                       ; +0x26, 0x1400960e6\ncmovnz  edx, ecx                                                       ; +0x28, 0x1400960e8\nmov     rcx, rdi                                                       ; +0x2b, 0x1400960eb\nadd     edx, ebx                                                       ; +0x2e, 0x1400960ee\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x30, 0x1400960f0\nadd     rsp, 20h                                                       ; +0x35, 0x1400960f5\npop     rdi                                                            ; +0x39, 0x1400960f9\njmp     CommunityCreditsPage__goToPage                                 ; +0x3a, 0x1400960fa", "xrefs": ["CommunityCreditsPage::init @ 0x140095e7f", "<???> @ 0x1406c71e8"], "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"}