{"type": "func", "start": 5370879408, "end": 5370879596, "name": "FRequestProfilePage::onClose", "pseudocode": "// \n// FRequestProfilePage::onClose from 0x140211db0 to 0x140211e6c (188 bytes)\n// \n// 5 xrefs:\n// > FRequestProfilePage::keyBackClicked @ 0x140211f19\n// > FRequestProfilePage::init @ 0x14020f865\n// > <???> @ 0x1408a5040\n// > <???> @ 0x1408a5050\n// > <???> @ 0x14091b548\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:28:19 +0000\n// \n\n__int64 __fastcall FRequestProfilePage::onClose(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  __int64 v7; // rcx\n  __int64 v8; // rax\n  __int64 v9; // rdx\n  __int64 v10; // rax\n  __int64 v11; // rcx\n  __int64 v12; // rdx\n\n  if ( *((_QWORD *)a1 + 100) )\n  {\n    v2 = cocos2d::CCDirector::sharedDirector(a1);\n    v3 = *((struct cocos2d::CCObject **)a1 + 100);\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  FRequestProfilePage::untoggleAll(a1);\n  v8 = GJAccountManager::sharedState(v7);\n  LOBYTE(v9) = 1;\n  v10 = ProfilePage::create((unsigned int)(*(_DWORD *)(v8 + 360) - *(_DWORD *)(v8 + 364)), v9);\n  v11 = *(_QWORD *)v10;\n  *(_BYTE *)(v10 + 596) = 1;\n  (*(void (__fastcall **)(__int64))(v11 + 1064))(v10);\n  (*(void (__fastcall **)(struct cocos2d::CCObject *, _QWORD))(*(_QWORD *)a1 + 992LL))(a1, 0);\n  LOBYTE(v12) = 1;\n  return (*(__int64 (__fastcall **)(struct cocos2d::CCObject *, __int64))(*(_QWORD *)a1 + 520LL))(a1, v12);\n}", "assembly": "; \n; FRequestProfilePage::onClose from 0x140211db0 to 0x140211e6c (188 bytes)\n; \n; 5 xrefs:\n; > FRequestProfilePage::keyBackClicked @ 0x140211f19\n; > FRequestProfilePage::init @ 0x14020f865\n; > <???> @ 0x1408a5040\n; > <???> @ 0x1408a5050\n; > <???> @ 0x14091b548\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:28:19 +0000\n; \npush    rdi                                                            ; +0x0, 0x140211db0\nsub     rsp, 20h                                                       ; +0x2, 0x140211db2\ncmp     qword ptr [rcx+320h], 0                                        ; +0x6, 0x140211db6\nmov     rdi, rcx                                                       ; +0xe, 0x140211dbe\njz      short loc_140211DF3                                            ; +0x11, 0x140211dc1\nmov     [rsp+28h+arg_0], rbx                                           ; +0x13, 0x140211dc3\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x18, 0x140211dc8\nmov     rbx, [rdi+320h]                                                ; +0x1e, 0x140211dce\nmov     rcx, rax                                                       ; +0x25, 0x140211dd5\nmov     r8, [rax]                                                      ; +0x28, 0x140211dd8\ncall    qword ptr [r8+90h]                                             ; +0x2b, 0x140211ddb\nmov     rcx, rax                                                       ; +0x32, 0x140211de2\nmov     rdx, rbx                                                       ; +0x35, 0x140211de5\ncall    cs:?unregisterForcePrio@CCTouchDispatcher@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x38, 0x140211de8\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x3e, 0x140211dee\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x43, 0x140211df3\nmov     rcx, [rax]                                                     ; +0x49, 0x140211df9\nmov     rdx, [rcx+90h]                                                 ; +0x4c, 0x140211dfc\nmov     rcx, rax                                                       ; +0x53, 0x140211e03\ncall    rdx                                                            ; +0x56, 0x140211e06\nmov     rcx, rax                                                       ; +0x58, 0x140211e08\nmov     rdx, rdi                                                       ; +0x5b, 0x140211e0b\ncall    cs:?unregisterForcePrio@CCTouchDispatcher@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCTouchDispatcher::unregisterForcePrio(cocos2d::CCObject *) ; +0x5e, 0x140211e0e\nmov     rcx, rdi                                                       ; +0x64, 0x140211e14\ncall    FRequestProfilePage__untoggleAll                               ; +0x67, 0x140211e17\ncall    GJAccountManager__sharedState                                  ; +0x6c, 0x140211e1c\nmov     dl, 1                                                          ; +0x71, 0x140211e21\nmov     ecx, [rax+168h]                                                ; +0x73, 0x140211e23\nsub     ecx, [rax+16Ch]                                                ; +0x79, 0x140211e29\ncall    ProfilePage__create                                            ; +0x7f, 0x140211e2f\nmov     rcx, [rax]                                                     ; +0x84, 0x140211e34\nmov     byte ptr [rax+254h], 1                                         ; +0x87, 0x140211e37\nmov     rdx, [rcx+428h]                                                ; +0x8e, 0x140211e3e\nmov     rcx, rax                                                       ; +0x95, 0x140211e45\ncall    rdx                                                            ; +0x98, 0x140211e48\nmov     rax, [rdi]                                                     ; +0x9a, 0x140211e4a\nxor     edx, edx                                                       ; +0x9d, 0x140211e4d\nmov     rcx, rdi                                                       ; +0x9f, 0x140211e4f\ncall    qword ptr [rax+3E0h]                                           ; +0xa2, 0x140211e52\nmov     rax, [rdi]                                                     ; +0xa8, 0x140211e58\nmov     dl, 1                                                          ; +0xab, 0x140211e5b\nmov     rcx, rdi                                                       ; +0xad, 0x140211e5d\nadd     rsp, 20h                                                       ; +0xb0, 0x140211e60\npop     rdi                                                            ; +0xb4, 0x140211e64\njmp     qword ptr [rax+208h]                                           ; +0xb5, 0x140211e65", "xrefs": ["FRequestProfilePage::keyBackClicked @ 0x140211f19", "FRequestProfilePage::init @ 0x14020f865", "<???> @ 0x1408a5040", "<???> @ 0x1408a5050", "<???> @ 0x14091b548"], "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"}