{"type": "func", "start": 4297532004, "end": 4297532152, "name": "FriendsProfilePage::onSwitchList", "pseudocode": "// \n// FriendsProfilePage::onSwitchList from 0x100272264 to 0x1002722f8 (148 bytes)\n// \n// 1 xrefs:\n// > FriendsProfilePage::init @ 0x100271b50\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:01:47 +0000\n// \n\n__int64 __fastcall FriendsProfilePage::onSwitchList(__int64 a1, __int64 a2)\n{\n  __int64 result; // x0\n  __int64 v4; // x20\n  __int64 v5; // x0\n  __int64 v6; // x0\n  __int64 v7; // x0\n  __int64 v8; // x0\n  char *v9; // x0\n\n  result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);\n  if ( (_DWORD)result != *(_DWORD *)(a1 + 816) )\n  {\n    v4 = result;\n    v5 = cocos2d::CCDirector::sharedDirector();\n    v6 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 160LL))(v5);\n    cocos2d::CCTouchDispatcher::unregisterForcePrio(v6, *(_QWORD *)(a1 + 832));\n    v7 = cocos2d::CCDirector::sharedDirector();\n    v8 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 160LL))(v7);\n    cocos2d::CCTouchDispatcher::unregisterForcePrio(v8, a1);\n    v9 = FriendsProfilePage::create(v4);\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v9 + 1312LL))(v9);\n    return PagedListPopup::onClose(a1, 0);\n  }\n  return result;\n}", "assembly": "; \n; FriendsProfilePage::onSwitchList from 0x100272264 to 0x1002722f8 (148 bytes)\n; \n; 1 xrefs:\n; > FriendsProfilePage::init @ 0x100271b50\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:01:47 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100272264\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100272268\nADD             X29, SP, #0x10                                         ; +0x8, 0x10027226c\nMOV             X19, X0                                                ; +0xc, 0x100272270\nLDR             X8, [X1]                                               ; +0x10, 0x100272274\nLDR             X8, [X8,#0x40]                                         ; +0x14, 0x100272278\nMOV             X0, X1                                                 ; +0x18, 0x10027227c\nBLR             X8                                                     ; +0x1c, 0x100272280\nLDR             W8, [X19,#0x330]                                       ; +0x20, 0x100272284\nCMP             W0, W8                                                 ; +0x24, 0x100272288\nB.NE            loc_10027229C                                          ; +0x28, 0x10027228c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x2c, 0x100272290\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x30, 0x100272294\nRET                                                                    ; +0x34, 0x100272298\nMOV             X20, X0                                                ; +0x38, 0x10027229c\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x3c, 0x1002722a0\nLDR             X8, [X0]                                               ; +0x40, 0x1002722a4\nLDR             X8, [X8,#0xA0]                                         ; +0x44, 0x1002722a8\nBLR             X8                                                     ; +0x48, 0x1002722ac\nLDR             X1, [X19,#0x340]                                       ; +0x4c, 0x1002722b0\nBL              cocos2d__CCTouchDispatcher__unregisterForcePrio        ; +0x50, 0x1002722b4\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x54, 0x1002722b8\nLDR             X8, [X0]                                               ; +0x58, 0x1002722bc\nLDR             X8, [X8,#0xA0]                                         ; +0x5c, 0x1002722c0\nBLR             X8                                                     ; +0x60, 0x1002722c4\nMOV             X1, X19                                                ; +0x64, 0x1002722c8\nBL              cocos2d__CCTouchDispatcher__unregisterForcePrio        ; +0x68, 0x1002722cc\nMOV             X0, X20                                                ; +0x6c, 0x1002722d0\nBL              FriendsProfilePage__create                             ; +0x70, 0x1002722d4\nLDR             X8, [X0]                                               ; +0x74, 0x1002722d8\nLDR             X8, [X8,#0x520]                                        ; +0x78, 0x1002722dc\nBLR             X8                                                     ; +0x7c, 0x1002722e0\nMOV             X0, X19                                                ; +0x80, 0x1002722e4\nMOV             X1, #0                                                 ; +0x84, 0x1002722e8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x88, 0x1002722ec\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x8c, 0x1002722f0\nB               PagedListPopup__onClose                                ; +0x90, 0x1002722f4", "xrefs": ["FriendsProfilePage::init @ 0x100271b50"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}