; ; FriendsProfilePage::onSwitchList from 0x140216fa0 to 0x140217052 (178 bytes) ; ; 4 xrefs: ; > FriendsProfilePage::init @ 0x140213cb5 ; > @ 0x1408a56b0 ; > @ 0x1408a56c0 ; > @ 0x14091b7a0 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:28:21 +0000 ; mov [rsp+arg_8], rsi ; +0x0, 0x140216fa0 push rdi ; +0x5, 0x140216fa5 sub rsp, 20h ; +0x6, 0x140216fa6 mov rax, [rdx] ; +0xa, 0x140216faa mov rdi, rcx ; +0xd, 0x140216fad mov rcx, rdx ; +0x10, 0x140216fb0 call qword ptr [rax+38h] ; +0x13, 0x140216fb3 mov esi, eax ; +0x16, 0x140216fb6 cmp eax, [rdi+330h] ; +0x18, 0x140216fb8 jz loc_140217047 ; +0x1e, 0x140216fbe mov [rsp+28h+arg_0], rbx ; +0x24, 0x140216fc4 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x29, 0x140216fc9 mov rbx, [rdi+340h] ; +0x2f, 0x140216fcf mov rcx, rax ; +0x36, 0x140216fd6 mov r8, [rax] ; +0x39, 0x140216fd9 call qword ptr [r8+90h] ; +0x3c, 0x140216fdc mov rcx, rax ; +0x43, 0x140216fe3 mov rdx, rbx ; +0x46, 0x140216fe6 call cs:?unregisterForcePrio@CCTouchDispatcher@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x49, 0x140216fe9 call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x4f, 0x140216fef mov rcx, [rax] ; +0x55, 0x140216ff5 mov rdx, [rcx+90h] ; +0x58, 0x140216ff8 mov rcx, rax ; +0x5f, 0x140216fff call rdx ; +0x62, 0x140217002 mov rcx, rax ; +0x64, 0x140217004 mov rdx, rdi ; +0x67, 0x140217007 call cs:?unregisterForcePrio@CCTouchDispatcher@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x6a, 0x14021700a mov ecx, esi ; +0x70, 0x140217010 call FriendsProfilePage__create ; +0x72, 0x140217012 mov rcx, [rax] ; +0x77, 0x140217017 mov rdx, [rcx+428h] ; +0x7a, 0x14021701a mov rcx, rax ; +0x81, 0x140217021 call rdx ; +0x84, 0x140217024 mov rax, [rdi] ; +0x86, 0x140217026 xor edx, edx ; +0x89, 0x140217029 mov rcx, rdi ; +0x8b, 0x14021702b call qword ptr [rax+3E0h] ; +0x8e, 0x14021702e mov rax, [rdi] ; +0x94, 0x140217034 mov dl, 1 ; +0x97, 0x140217037 mov rcx, rdi ; +0x99, 0x140217039 call qword ptr [rax+208h] ; +0x9c, 0x14021703c mov rbx, [rsp+28h+arg_0] ; +0xa2, 0x140217042 mov rsi, [rsp+28h+arg_8] ; +0xa7, 0x140217047 add rsp, 20h ; +0xac, 0x14021704c pop rdi ; +0xb0, 0x140217050 retn ; +0xb1, 0x140217051