{"type": "func", "start": 4297957300, "end": 4297957416, "name": "FriendRequestPopup::onClosePopup", "pseudocode": "// \n// FriendRequestPopup::onClosePopup from 0x1002d9fb4 to 0x1002da028 (116 bytes)\n// \n// 2 xrefs:\n// > sub_1002DA028 @ 0x1002da02c\n// > <???> @ 0x1007dadb8\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 __fastcall FriendRequestPopup::onClosePopup(FriendRequestPopup *a1, UploadActionPopup *a2)\n{\n  cocos2d::CCObject *v4; // x1\n\n  ((void (__fastcall *)(UploadActionPopup *, _QWORD))a2->setKeypadEnabled)(a2, 0);\n  ((void (__fastcall *)(UploadActionPopup *, __int64))a2->removeFromParentAndCleanup)(a2, 1);\n  if ( a1->m_popup == a2 )\n  {\n    a1->m_popup = nullptr;\n    if ( LOBYTE(a1->m_unk) == 1 )\n      FriendRequestPopup::onClose(a1, v4);\n  }\n}", "assembly": "; \n; FriendRequestPopup::onClosePopup from 0x1002d9fb4 to 0x1002da028 (116 bytes)\n; \n; 2 xrefs:\n; > sub_1002DA028 @ 0x1002da02c\n; > <???> @ 0x1007dadb8\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1002d9fb4\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1002d9fb8\nADD             X29, SP, #0x10                                         ; +0x8, 0x1002d9fbc\nMOV             X20, X1                                                ; +0xc, 0x1002d9fc0\nMOV             X19, X0                                                ; +0x10, 0x1002d9fc4\nLDR             X8, [X1]                                               ; +0x14, 0x1002d9fc8\nLDR             X8, [X8,#0x420]                                        ; +0x18, 0x1002d9fcc\nMOV             X0, X1                                                 ; +0x1c, 0x1002d9fd0\nMOV             W1, #0                                                 ; +0x20, 0x1002d9fd4\nBLR             X8                                                     ; +0x24, 0x1002d9fd8\nLDR             X8, [X20]                                              ; +0x28, 0x1002d9fdc\nLDR             X8, [X8,#0x200]                                        ; +0x2c, 0x1002d9fe0\nMOV             X0, X20                                                ; +0x30, 0x1002d9fe4\nMOV             W1, #1                                                 ; +0x34, 0x1002d9fe8\nBLR             X8                                                     ; +0x38, 0x1002d9fec\nLDR             X8, [X19,#0x2B0]                                       ; +0x3c, 0x1002d9ff0\nCMP             X8, X20                                                ; +0x40, 0x1002d9ff4\nB.NE            loc_1002DA01C                                          ; +0x44, 0x1002d9ff8\nSTR             XZR, [X19,#0x2B0]                                      ; +0x48, 0x1002d9ffc\nLDRB            W8, [X19,#0x290]                                       ; +0x4c, 0x1002da000\nCMP             W8, #1                                                 ; +0x50, 0x1002da004\nB.NE            loc_1002DA01C                                          ; +0x54, 0x1002da008\nMOV             X0, X19                                                ; +0x58, 0x1002da00c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x5c, 0x1002da010\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x60, 0x1002da014\nB               FriendRequestPopup__onClose                            ; +0x64, 0x1002da018\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x68, 0x1002da01c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x6c, 0x1002da020\nRET                                                                    ; +0x70, 0x1002da024", "xrefs": ["sub_1002DA028 @ 0x1002da02c", "<???> @ 0x1007dadb8"], "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"}