{"type": "func", "start": 4302527200, "end": 4302527329, "name": "FriendsProfilePage::onSwitchList", "pseudocode": "// \n// FriendsProfilePage::onSwitchList from 0x100735ae0 to 0x100735b61 (129 bytes)\n// \n// 4 xrefs:\n// > FriendsProfilePage::init @ 0x10073512d\n// > FriendsProfilePage::init @ 0x1007351e5\n// > FriendsProfilePage::init @ 0x100735298\n// > FriendsProfilePage::init @ 0x10073534b\n// \n// This function is hookable on this platform (idp: pc, 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 12:36:24 +0000\n// \n\n__int64 __fastcall FriendsProfilePage::onSwitchList(__int64 a1, __int64 a2)\n{\n  __int64 result; // rax\n  unsigned int v3; // r14d\n  __int64 v4; // rax\n  __int64 v5; // rax\n  __int64 v6; // rax\n  __int64 v7; // rax\n  char *v8; // rax\n\n  result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);\n  if ( (_DWORD)result != *(_DWORD *)(a1 + 816) )\n  {\n    v3 = result;\n    v4 = cocos2d::CCDirector::sharedDirector();\n    v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 160LL))(v4);\n    cocos2d::CCTouchDispatcher::unregisterForcePrio(v5, *(_QWORD *)(a1 + 832));\n    v6 = cocos2d::CCDirector::sharedDirector();\n    v7 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 160LL))(v6);\n    cocos2d::CCTouchDispatcher::unregisterForcePrio(v7, a1);\n    v8 = FriendsProfilePage::create(v3);\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v8 + 1312LL))(v8);\n    return PagedListPopup::onClose(a1, 0);\n  }\n  return result;\n}", "assembly": "; \n; FriendsProfilePage::onSwitchList from 0x100735ae0 to 0x100735b61 (129 bytes)\n; \n; 4 xrefs:\n; > FriendsProfilePage::init @ 0x10073512d\n; > FriendsProfilePage::init @ 0x1007351e5\n; > FriendsProfilePage::init @ 0x100735298\n; > FriendsProfilePage::init @ 0x10073534b\n; \n; This function is hookable on this platform (idp: pc, 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 12:36:24 +0000\n; \npush    rbp                                                            ; +0x0, 0x100735ae0\nmov     rbp, rsp                                                       ; +0x1, 0x100735ae1\npush    r14                                                            ; +0x4, 0x100735ae4\npush    rbx                                                            ; +0x6, 0x100735ae6\nmov     rbx, rdi                                                       ; +0x7, 0x100735ae7\nmov     rax, [rsi]                                                     ; +0xa, 0x100735aea\nmov     rdi, rsi                                                       ; +0xd, 0x100735aed\ncall    qword ptr [rax+40h]                                            ; +0x10, 0x100735af0\ncmp     eax, [rbx+330h]                                                ; +0x13, 0x100735af3\njnz     short loc_100735B00                                            ; +0x19, 0x100735af9\npop     rbx                                                            ; +0x1b, 0x100735afb\npop     r14                                                            ; +0x1c, 0x100735afc\npop     rbp                                                            ; +0x1e, 0x100735afe\nretn                                                                   ; +0x1f, 0x100735aff\nmov     r14d, eax                                                      ; +0x20, 0x100735b00\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x23, 0x100735b03\nmov     rcx, [rax]                                                     ; +0x28, 0x100735b08\nmov     rdi, rax                                                       ; +0x2b, 0x100735b0b\ncall    qword ptr [rcx+0A0h]                                           ; +0x2e, 0x100735b0e\nmov     rsi, [rbx+340h]                                                ; +0x34, 0x100735b14\nmov     rdi, rax                                                       ; +0x3b, 0x100735b1b\ncall    cocos2d__CCTouchDispatcher__unregisterForcePrio                ; +0x3e, 0x100735b1e\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x43, 0x100735b23\nmov     rcx, [rax]                                                     ; +0x48, 0x100735b28\nmov     rdi, rax                                                       ; +0x4b, 0x100735b2b\ncall    qword ptr [rcx+0A0h]                                           ; +0x4e, 0x100735b2e\nmov     rdi, rax                                                       ; +0x54, 0x100735b34\nmov     rsi, rbx                                                       ; +0x57, 0x100735b37\ncall    cocos2d__CCTouchDispatcher__unregisterForcePrio                ; +0x5a, 0x100735b3a\nmov     edi, r14d                                                      ; +0x5f, 0x100735b3f\ncall    FriendsProfilePage__create                                     ; +0x62, 0x100735b42\nmov     rcx, [rax]                                                     ; +0x67, 0x100735b47\nmov     rdi, rax                                                       ; +0x6a, 0x100735b4a\ncall    qword ptr [rcx+520h]                                           ; +0x6d, 0x100735b4d\nmov     rdi, rbx                                                       ; +0x73, 0x100735b53\nxor     esi, esi                                                       ; +0x76, 0x100735b56\npop     rbx                                                            ; +0x78, 0x100735b58\npop     r14                                                            ; +0x79, 0x100735b59\npop     rbp                                                            ; +0x7b, 0x100735b5b\njmp     PagedListPopup__onClose                                        ; +0x7c, 0x100735b5c", "xrefs": ["FriendsProfilePage::init @ 0x10073512d", "FriendsProfilePage::init @ 0x1007351e5", "FriendsProfilePage::init @ 0x100735298", "FriendsProfilePage::init @ 0x10073534b"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}