{"type": "func", "start": 4296681412, "end": 4296681476, "name": "CommunityCreditsPage::onSwitchPage", "pseudocode": "// \n// CommunityCreditsPage::onSwitchPage from 0x1001a27c4 to 0x1001a2804 (64 bytes)\n// \n// 1 xrefs:\n// > CommunityCreditsPage::init @ 0x1001a2004\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; // w20\n  int v4; // w8\n\n  m_page = a1->m_page;\n  if ( ((unsigned int (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2) == 1 )\n    v4 = 1;\n  else\n    v4 = -1;\n  CommunityCreditsPage::goToPage(a1, v4 + m_page);\n}", "assembly": "; \n; CommunityCreditsPage::onSwitchPage from 0x1001a27c4 to 0x1001a2804 (64 bytes)\n; \n; 1 xrefs:\n; > CommunityCreditsPage::init @ 0x1001a2004\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1001a27c4\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1001a27c8\nADD             X29, SP, #0x10                                         ; +0x8, 0x1001a27cc\nMOV             X19, X0                                                ; +0xc, 0x1001a27d0\nLDR             W20, [X0,#0x290]                                       ; +0x10, 0x1001a27d4\nLDR             X8, [X1]                                               ; +0x14, 0x1001a27d8\nLDR             X8, [X8,#0x40]                                         ; +0x18, 0x1001a27dc\nMOV             X0, X1                                                 ; +0x1c, 0x1001a27e0\nBLR             X8                                                     ; +0x20, 0x1001a27e4\nCMP             W0, #1                                                 ; +0x24, 0x1001a27e8\nCSINV           W8, W0, WZR, EQ                                        ; +0x28, 0x1001a27ec\nADD             W1, W8, W20                                            ; +0x2c, 0x1001a27f0\nMOV             X0, X19                                                ; +0x30, 0x1001a27f4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x34, 0x1001a27f8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x38, 0x1001a27fc\nB               CommunityCreditsPage__goToPage                         ; +0x3c, 0x1001a2800", "xrefs": ["CommunityCreditsPage::init @ 0x1001a2004"], "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"}