{"type": "func", "start": 4297538776, "end": 4297538904, "name": "FriendsProfilePage::onClose", "pseudocode": "// \n// FriendsProfilePage::onClose from 0x100273cd8 to 0x100273d58 (128 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1009182f8\n// \n// This function is hookable on this platform (idp: arm, 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:01:48 +0000\n// \n\n__int64 __fastcall FriendsProfilePage::onClose(__int64 a1)\n{\n  __int64 v2; // x0\n  __int64 v3; // x0\n  __int64 v4; // x0\n  __int64 v5; // x0\n  __int64 v6; // x0\n  __int64 v7; // x0\n  _BYTE *v8; // x0\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  v6 = cocos2d::CCTouchDispatcher::unregisterForcePrio(v5, a1);\n  v7 = GJAccountManager::sharedState(v6);\n  v8 = ProfilePage::create((unsigned int)(*(_DWORD *)(v7 + 352) - *(_DWORD *)(v7 + 356)), 1);\n  v8[596] = 1;\n  (*(void (__fastcall **)(_BYTE *))(*(_QWORD *)v8 + 1312LL))(v8);\n  return PagedListPopup::onClose(a1, 0);\n}", "assembly": "; \n; FriendsProfilePage::onClose from 0x100273cd8 to 0x100273d58 (128 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1009182f8\n; \n; This function is hookable on this platform (idp: arm, 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:01:48 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100273cd8\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100273cdc\nADD             X29, SP, #0x10                                         ; +0x8, 0x100273ce0\nMOV             X19, X0                                                ; +0xc, 0x100273ce4\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x10, 0x100273ce8\nLDR             X8, [X0]                                               ; +0x14, 0x100273cec\nLDR             X8, [X8,#0xA0]                                         ; +0x18, 0x100273cf0\nBLR             X8                                                     ; +0x1c, 0x100273cf4\nLDR             X1, [X19,#0x340]                                       ; +0x20, 0x100273cf8\nBL              cocos2d__CCTouchDispatcher__unregisterForcePrio        ; +0x24, 0x100273cfc\nBL              cocos2d__CCDirector__sharedDirector                    ; +0x28, 0x100273d00\nLDR             X8, [X0]                                               ; +0x2c, 0x100273d04\nLDR             X8, [X8,#0xA0]                                         ; +0x30, 0x100273d08\nBLR             X8                                                     ; +0x34, 0x100273d0c\nMOV             X1, X19                                                ; +0x38, 0x100273d10\nBL              cocos2d__CCTouchDispatcher__unregisterForcePrio        ; +0x3c, 0x100273d14\nBL              GJAccountManager__sharedState                          ; +0x40, 0x100273d18\nLDR             W8, [X0,#0x160]                                        ; +0x44, 0x100273d1c\nLDR             W9, [X0,#0x164]                                        ; +0x48, 0x100273d20\nSUB             W0, W8, W9                                             ; +0x4c, 0x100273d24\nMOV             W20, #1                                                ; +0x50, 0x100273d28\nMOV             W1, #1                                                 ; +0x54, 0x100273d2c\nBL              ProfilePage__create                                    ; +0x58, 0x100273d30\nSTRB            W20, [X0,#0x254]                                       ; +0x5c, 0x100273d34\nLDR             X8, [X0]                                               ; +0x60, 0x100273d38\nLDR             X8, [X8,#0x520]                                        ; +0x64, 0x100273d3c\nBLR             X8                                                     ; +0x68, 0x100273d40\nMOV             X0, X19                                                ; +0x6c, 0x100273d44\nMOV             X1, #0                                                 ; +0x70, 0x100273d48\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x74, 0x100273d4c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x78, 0x100273d50\nB               PagedListPopup__onClose                                ; +0x7c, 0x100273d54", "xrefs": ["<???> @ 0x1009182f8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}