{"type": "func", "start": 5372080912, "end": 5372081048, "name": "MessagesProfilePage::onSentMessages", "pseudocode": "// \n// MessagesProfilePage::onSentMessages from 0x140337310 to 0x140337398 (136 bytes)\n// \n// 3 xrefs:\n// > MessagesProfilePage::init @ 0x140336af8\n// > <???> @ 0x1406d5258\n// > <???> @ 0x1406d5264\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 MessagesProfilePage::onSentMessages(MessagesProfilePage *a1, cocos2d::CCObject *a2)\n{\n  __int64 v3; // rax\n  cocos2d::CCTouchDispatcher *v4; // rax\n  __int64 v5; // rax\n  cocos2d::CCTouchDispatcher *v6; // rax\n  MessagesProfilePage *v7; // rax\n  _BOOL8 v8; // rdx\n\n  if ( a1->m_listLayer )\n  {\n    v3 = cocos2d::CCDirector::sharedDirector(a1);\n    v4 = (cocos2d::CCTouchDispatcher *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v3 + 144LL))(v3);\n    cocos2d::CCTouchDispatcher::unregisterForcePrio(v4, a1->m_listLayer);\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(1);\n  v7->show(v7);\n  a1->setKeypadEnabled(a1, 0);\n  LOBYTE(v8) = 1;\n  a1->removeFromParentAndCleanup(a1, v8);\n}", "assembly": "; \n; MessagesProfilePage::onSentMessages from 0x140337310 to 0x140337398 (136 bytes)\n; \n; 3 xrefs:\n; > MessagesProfilePage::init @ 0x140336af8\n; > <???> @ 0x1406d5258\n; > <???> @ 0x1406d5264\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\npush    rbx                                                            ; +0x0, 0x140337310\nsub     rsp, 20h                                                       ; +0x2, 0x140337312\ncmp     qword ptr [rcx+2D0h], 0                                        ; +0x6, 0x140337316\nmov     rbx, rcx                                                       ; +0xe, 0x14033731e\njz      short loc_140337345                                            ; +0x11, 0x140337321\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x13, 0x140337323\nmov     rcx, rax                                                       ; +0x19, 0x140337329\nmov     rdx, [rax]                                                     ; +0x1c, 0x14033732c\ncall    qword ptr [rdx+90h]                                            ; +0x1f, 0x14033732f\nmov     rdx, [rbx+2D0h]                                                ; +0x25, 0x140337335\nmov     rcx, rax                                                       ; +0x2c, 0x14033733c\ncall    cs:?unregisterForcePrio@CCTouchDispatcher@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x2f, 0x14033733f\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x35, 0x140337345\nmov     rcx, rax                                                       ; +0x3b, 0x14033734b\nmov     rdx, [rax]                                                     ; +0x3e, 0x14033734e\ncall    qword ptr [rdx+90h]                                            ; +0x41, 0x140337351\nmov     rcx, rax                                                       ; +0x47, 0x140337357\nmov     rdx, rbx                                                       ; +0x4a, 0x14033735a\ncall    cs:?unregisterForcePrio@CCTouchDispatcher@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x4d, 0x14033735d\nmov     cl, 1                                                          ; +0x53, 0x140337363\ncall    MessagesProfilePage__create                                    ; +0x55, 0x140337365\nmov     rcx, rax                                                       ; +0x5a, 0x14033736a\nmov     rdx, [rax]                                                     ; +0x5d, 0x14033736d\ncall    qword ptr [rdx+410h]                                           ; +0x60, 0x140337370\nmov     rax, [rbx]                                                     ; +0x66, 0x140337376\nxor     edx, edx                                                       ; +0x69, 0x140337379\nmov     rcx, rbx                                                       ; +0x6b, 0x14033737b\ncall    qword ptr [rax+3D0h]                                           ; +0x6e, 0x14033737e\nmov     rax, [rbx]                                                     ; +0x74, 0x140337384\nmov     dl, 1                                                          ; +0x77, 0x140337387\nmov     rcx, rbx                                                       ; +0x79, 0x140337389\nadd     rsp, 20h                                                       ; +0x7c, 0x14033738c\npop     rbx                                                            ; +0x80, 0x140337390\njmp     qword ptr [rax+1F8h]                                           ; +0x81, 0x140337391", "xrefs": ["MessagesProfilePage::init @ 0x140336af8", "<???> @ 0x1406d5258", "<???> @ 0x1406d5264"], "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"}