{"type": "func", "start": 4302536176, "end": 4302536307, "name": "FriendsProfilePage::onClose", "pseudocode": "// \n// FriendsProfilePage::onClose from 0x100737df0 to 0x100737e73 (131 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100b9a298\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 12:36:25 +0000\n// \n\n__int64 __fastcall FriendsProfilePage::onClose(__int64 a1)\n{\n  __int64 v2; // rax\n  __int64 v3; // rax\n  __int64 v4; // rax\n  __int64 v5; // rdi\n  __int64 v6; // rax\n  _BYTE *v7; // rax\n\n  v2 = cocos2d::CCDirector::sharedDirector();\n  v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 160LL))(v2);\n  cocos2d::CCTouchDispatcher::unregisterForcePrio(v3, *(_QWORD *)(a1 + 832));\n  v4 = cocos2d::CCDirector::sharedDirector();\n  v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 160LL))(v4);\n  cocos2d::CCTouchDispatcher::unregisterForcePrio(v5, a1);\n  v6 = GJAccountManager::sharedState(v5, a1);\n  v7 = (_BYTE *)ProfilePage::create((unsigned int)(*(_DWORD *)(v6 + 352) - *(_DWORD *)(v6 + 356)), 1);\n  v7[596] = 1;\n  (*(void (__fastcall **)(_BYTE *))(*(_QWORD *)v7 + 1312LL))(v7);\n  return PagedListPopup::onClose(a1, 0);\n}", "assembly": "; \n; FriendsProfilePage::onClose from 0x100737df0 to 0x100737e73 (131 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100b9a298\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 12:36:25 +0000\n; \npush    rbp                                                            ; +0x0, 0x100737df0\nmov     rbp, rsp                                                       ; +0x1, 0x100737df1\npush    rbx                                                            ; +0x4, 0x100737df4\npush    rax                                                            ; +0x5, 0x100737df5\nmov     rbx, rdi                                                       ; +0x6, 0x100737df6\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x9, 0x100737df9\nmov     rcx, [rax]                                                     ; +0xe, 0x100737dfe\nmov     rdi, rax                                                       ; +0x11, 0x100737e01\ncall    qword ptr [rcx+0A0h]                                           ; +0x14, 0x100737e04\nmov     rsi, [rbx+340h]                                                ; +0x1a, 0x100737e0a\nmov     rdi, rax                                                       ; +0x21, 0x100737e11\ncall    cocos2d__CCTouchDispatcher__unregisterForcePrio                ; +0x24, 0x100737e14\ncall    cocos2d__CCDirector__sharedDirector                            ; +0x29, 0x100737e19\nmov     rcx, [rax]                                                     ; +0x2e, 0x100737e1e\nmov     rdi, rax                                                       ; +0x31, 0x100737e21\ncall    qword ptr [rcx+0A0h]                                           ; +0x34, 0x100737e24\nmov     rdi, rax                                                       ; +0x3a, 0x100737e2a\nmov     rsi, rbx                                                       ; +0x3d, 0x100737e2d\ncall    cocos2d__CCTouchDispatcher__unregisterForcePrio                ; +0x40, 0x100737e30\ncall    GJAccountManager__sharedState                                  ; +0x45, 0x100737e35\nmov     edi, [rax+160h]                                                ; +0x4a, 0x100737e3a\nsub     edi, [rax+164h]                                                ; +0x50, 0x100737e40\nmov     esi, 1                                                         ; +0x56, 0x100737e46\ncall    ProfilePage__create                                            ; +0x5b, 0x100737e4b\nmov     byte ptr [rax+254h], 1                                         ; +0x60, 0x100737e50\nmov     rcx, [rax]                                                     ; +0x67, 0x100737e57\nmov     rdi, rax                                                       ; +0x6a, 0x100737e5a\ncall    qword ptr [rcx+520h]                                           ; +0x6d, 0x100737e5d\nmov     rdi, rbx                                                       ; +0x73, 0x100737e63\nxor     esi, esi                                                       ; +0x76, 0x100737e66\nadd     rsp, 8                                                         ; +0x78, 0x100737e68\npop     rbx                                                            ; +0x7c, 0x100737e6c\npop     rbp                                                            ; +0x7d, 0x100737e6d\njmp     PagedListPopup__onClose                                        ; +0x7e, 0x100737e6e", "xrefs": ["<???> @ 0x100b9a298"], "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"}