{"type": "func", "start": 5373388416, "end": 5373388572, "name": "MessagesProfilePage::onSentMessages", "pseudocode": "// \n// MessagesProfilePage::onSentMessages from 0x140476680 to 0x14047671c (156 bytes)\n// \n// 4 xrefs:\n// > MessagesProfilePage::init @ 0x140475d35\n// > <???> @ 0x1408ced7c\n// > <???> @ 0x1408ced8c\n// > <???> @ 0x1409283d0\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 11:32:40 +0000\n// \n\n__int64 __fastcall MessagesProfilePage::onSentMessages(struct cocos2d::CCObject *a1)\n{\n  __int64 v2; // rax\n  struct cocos2d::CCObject *v3; // rbx\n  cocos2d::CCTouchDispatcher *v4; // rax\n  __int64 v5; // rax\n  cocos2d::CCTouchDispatcher *v6; // rax\n  _QWORD *v7; // rax\n  __int64 v8; // rdx\n\n  if ( *((_QWORD *)a1 + 94) )\n  {\n    v2 = cocos2d::CCDirector::sharedDirector(a1);\n    v3 = *((struct cocos2d::CCObject **)a1 + 94);\n    v4 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 144LL))(v2);\n    cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, v3);\n  }\n  v5 = cocos2d::CCDirector::sharedDirector(a1);\n  v6 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v5 + 144LL))(v5);\n  cocos2d::CCTouchDispatcher::unregisterForcePrio(v6, a1);\n  v7 = MessagesProfilePage::create(1u);\n  (*(void (__fastcall **)(_QWORD *))(*v7 + 1064LL))(v7);\n  (*(void (__fastcall **)(struct cocos2d::CCObject *, _QWORD))(*(_QWORD *)a1 + 992LL))(a1, 0);\n  LOBYTE(v8) = 1;\n  return (*(__int64 (__fastcall **)(struct cocos2d::CCObject *, __int64))(*(_QWORD *)a1 + 520LL))(a1, v8);\n}", "assembly": "; \n; MessagesProfilePage::onSentMessages from 0x140476680 to 0x14047671c (156 bytes)\n; \n; 4 xrefs:\n; > MessagesProfilePage::init @ 0x140475d35\n; > <???> @ 0x1408ced7c\n; > <???> @ 0x1408ced8c\n; > <???> @ 0x1409283d0\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 11:32:40 +0000\n; \npush    rdi                                                            ; +0x0, 0x140476680\nsub     rsp, 20h                                                       ; +0x2, 0x140476682\ncmp     qword ptr [rcx+2F0h], 0                                        ; +0x6, 0x140476686\nmov     rdi, rcx                                                       ; +0xe, 0x14047668e\njz      short loc_1404766C3                                            ; +0x11, 0x140476691\nmov     [rsp+28h+arg_0], rbx                                           ; +0x13, 0x140476693\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x18, 0x140476698\nmov     rbx, [rdi+2F0h]                                                ; +0x1e, 0x14047669e\nmov     rcx, rax                                                       ; +0x25, 0x1404766a5\nmov     r8, [rax]                                                      ; +0x28, 0x1404766a8\ncall    qword ptr [r8+90h]                                             ; +0x2b, 0x1404766ab\nmov     rcx, rax                                                       ; +0x32, 0x1404766b2\nmov     rdx, rbx                                                       ; +0x35, 0x1404766b5\ncall    cs:?unregisterForcePrio@CCTouchDispatcher@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x38, 0x1404766b8\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x3e, 0x1404766be\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x43, 0x1404766c3\nmov     rcx, [rax]                                                     ; +0x49, 0x1404766c9\nmov     rdx, [rcx+90h]                                                 ; +0x4c, 0x1404766cc\nmov     rcx, rax                                                       ; +0x53, 0x1404766d3\ncall    rdx                                                            ; +0x56, 0x1404766d6\nmov     rcx, rax                                                       ; +0x58, 0x1404766d8\nmov     rdx, rdi                                                       ; +0x5b, 0x1404766db\ncall    cs:?unregisterForcePrio@CCTouchDispatcher@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x5e, 0x1404766de\nmov     cl, 1                                                          ; +0x64, 0x1404766e4\ncall    MessagesProfilePage__create                                    ; +0x66, 0x1404766e6\nmov     rcx, [rax]                                                     ; +0x6b, 0x1404766eb\nmov     rdx, [rcx+428h]                                                ; +0x6e, 0x1404766ee\nmov     rcx, rax                                                       ; +0x75, 0x1404766f5\ncall    rdx                                                            ; +0x78, 0x1404766f8\nmov     rax, [rdi]                                                     ; +0x7a, 0x1404766fa\nxor     edx, edx                                                       ; +0x7d, 0x1404766fd\nmov     rcx, rdi                                                       ; +0x7f, 0x1404766ff\ncall    qword ptr [rax+3E0h]                                           ; +0x82, 0x140476702\nmov     rax, [rdi]                                                     ; +0x88, 0x140476708\nmov     dl, 1                                                          ; +0x8b, 0x14047670b\nmov     rcx, rdi                                                       ; +0x8d, 0x14047670d\nadd     rsp, 20h                                                       ; +0x90, 0x140476710\npop     rdi                                                            ; +0x94, 0x140476714\njmp     qword ptr [rax+208h]                                           ; +0x95, 0x140476715", "xrefs": ["MessagesProfilePage::init @ 0x140475d35", "<???> @ 0x1408ced7c", "<???> @ 0x1408ced8c", "<???> @ 0x1409283d0"], "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"}