{"type": "func", "start": 5372661920, "end": 5372662037, "name": "ProfilePage::onClose", "pseudocode": "// \n// ProfilePage::onClose from 0x1403c50a0 to 0x1403c5115 (117 bytes)\n// \n// 6 xrefs:\n// > ProfilePage::keyBackClicked @ 0x1403c5129\n// > ProfilePage::onMessages @ 0x1403c5e56\n// > ProfilePage::onFriends @ 0x1403c5e86\n// > ProfilePage::onRequests @ 0x1403c5eb6\n// > ProfilePage::init @ 0x1403bef7b\n// > <???> @ 0x1406d7808\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 ProfilePage::onClose(ProfilePage *a1, cocos2d::CCObject *a2)\n{\n  __int64 v3; // rax\n  cocos2d::CCTouchDispatcher *v4; // rax\n  __int64 v5; // rax\n  cocos2d::CCTouchDispatcher *v6; // rax\n  _BOOL8 v7; // rdx\n\n  if ( a1->m_list )\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_list);\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  a1->setKeypadEnabled(a1, 0);\n  LOBYTE(v7) = 1;\n  a1->removeFromParentAndCleanup(a1, v7);\n}", "assembly": "; \n; ProfilePage::onClose from 0x1403c50a0 to 0x1403c5115 (117 bytes)\n; \n; 6 xrefs:\n; > ProfilePage::keyBackClicked @ 0x1403c5129\n; > ProfilePage::onMessages @ 0x1403c5e56\n; > ProfilePage::onFriends @ 0x1403c5e86\n; > ProfilePage::onRequests @ 0x1403c5eb6\n; > ProfilePage::init @ 0x1403bef7b\n; > <???> @ 0x1406d7808\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, 0x1403c50a0\nsub     rsp, 20h                                                       ; +0x2, 0x1403c50a2\ncmp     qword ptr [rcx+2F0h], 0                                        ; +0x6, 0x1403c50a6\nmov     rbx, rcx                                                       ; +0xe, 0x1403c50ae\njz      short loc_1403C50D5                                            ; +0x11, 0x1403c50b1\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x13, 0x1403c50b3\nmov     rcx, rax                                                       ; +0x19, 0x1403c50b9\nmov     rdx, [rax]                                                     ; +0x1c, 0x1403c50bc\ncall    qword ptr [rdx+90h]                                            ; +0x1f, 0x1403c50bf\nmov     rdx, [rbx+2F0h]                                                ; +0x25, 0x1403c50c5\nmov     rcx, rax                                                       ; +0x2c, 0x1403c50cc\ncall    cs:?unregisterForcePrio@CCTouchDispatcher@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x2f, 0x1403c50cf\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x35, 0x1403c50d5\nmov     rcx, rax                                                       ; +0x3b, 0x1403c50db\nmov     rdx, [rax]                                                     ; +0x3e, 0x1403c50de\ncall    qword ptr [rdx+90h]                                            ; +0x41, 0x1403c50e1\nmov     rcx, rax                                                       ; +0x47, 0x1403c50e7\nmov     rdx, rbx                                                       ; +0x4a, 0x1403c50ea\ncall    cs:?unregisterForcePrio@CCTouchDispatcher@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x4d, 0x1403c50ed\nmov     rax, [rbx]                                                     ; +0x53, 0x1403c50f3\nxor     edx, edx                                                       ; +0x56, 0x1403c50f6\nmov     rcx, rbx                                                       ; +0x58, 0x1403c50f8\ncall    qword ptr [rax+3D0h]                                           ; +0x5b, 0x1403c50fb\nmov     rax, [rbx]                                                     ; +0x61, 0x1403c5101\nmov     dl, 1                                                          ; +0x64, 0x1403c5104\nmov     rcx, rbx                                                       ; +0x66, 0x1403c5106\nadd     rsp, 20h                                                       ; +0x69, 0x1403c5109\npop     rbx                                                            ; +0x6d, 0x1403c510d\njmp     qword ptr [rax+1F8h]                                           ; +0x6e, 0x1403c510e", "xrefs": ["ProfilePage::keyBackClicked @ 0x1403c5129", "ProfilePage::onMessages @ 0x1403c5e56", "ProfilePage::onFriends @ 0x1403c5e86", "ProfilePage::onRequests @ 0x1403c5eb6", "ProfilePage::init @ 0x1403bef7b", "<???> @ 0x1406d7808"], "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"}