{"type": "func", "start": 4298247264, "end": 4298247316, "name": "CommunityCreditsPage::onSwitchPage", "pseudocode": "// \n// CommunityCreditsPage::onSwitchPage from 0x100320c60 to 0x100320c94 (52 bytes)\n// \n// 2 xrefs:\n// > CommunityCreditsPage::init @ 0x100320a62\n// > CommunityCreditsPage::init @ 0x100320b21\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 __fastcall CommunityCreditsPage::onSwitchPage(CommunityCreditsPage *a1, cocos2d::CCObject *a2)\n{\n  int m_page; // r14d\n  int v3; // eax\n\n  m_page = a1->m_page;\n  v3 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2);\n  CommunityCreditsPage::goToPage(a1, m_page + 2 * (v3 == 1) - 1);\n}", "assembly": "; \n; CommunityCreditsPage::onSwitchPage from 0x100320c60 to 0x100320c94 (52 bytes)\n; \n; 2 xrefs:\n; > CommunityCreditsPage::init @ 0x100320a62\n; > CommunityCreditsPage::init @ 0x100320b21\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    rbp                                                            ; +0x0, 0x100320c60\nmov     rbp, rsp                                                       ; +0x1, 0x100320c61\npush    r14                                                            ; +0x4, 0x100320c64\npush    rbx                                                            ; +0x6, 0x100320c66\nmov     rbx, rdi                                                       ; +0x7, 0x100320c67\nmov     r14d, [rdi+290h]                                               ; +0xa, 0x100320c6a\nmov     rax, [rsi]                                                     ; +0x11, 0x100320c71\nmov     rdi, rsi                                                       ; +0x14, 0x100320c74\ncall    qword ptr [rax+40h]                                            ; +0x17, 0x100320c77\nxor     ecx, ecx                                                       ; +0x1a, 0x100320c7a\ncmp     eax, 1                                                         ; +0x1c, 0x100320c7c\nsetz    cl                                                             ; +0x1f, 0x100320c7f\nlea     esi, [r14+rcx*2]                                               ; +0x22, 0x100320c82\ndec     esi                                                            ; +0x26, 0x100320c86\nmov     rdi, rbx                                                       ; +0x28, 0x100320c88\npop     rbx                                                            ; +0x2b, 0x100320c8b\npop     r14                                                            ; +0x2c, 0x100320c8c\npop     rbp                                                            ; +0x2e, 0x100320c8e\njmp     CommunityCreditsPage__goToPage                                 ; +0x2f, 0x100320c8f", "xrefs": ["CommunityCreditsPage::init @ 0x100320a62", "CommunityCreditsPage::init @ 0x100320b21"], "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"}