{"type": "func", "start": 5371425328, "end": 5371425417, "name": "FriendRequestPopup::onClosePopup", "pseudocode": "// \n// FriendRequestPopup::onClosePopup from 0x140297230 to 0x140297289 (89 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1405791b8\n// > <???> @ 0x1406d1c28\n// > <???> @ 0x1406d1c34\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 FriendRequestPopup::onClosePopup(FriendRequestPopup *a1, UploadActionPopup *a2)\n{\n  _BOOL8 v4; // rdx\n  bool v5; // zf\n\n  a2->setKeypadEnabled(a2, 0);\n  LOBYTE(v4) = 1;\n  a2->removeFromParentAndCleanup(a2, v4);\n  if ( a2 == *(UploadActionPopup **)&a1->m_uOrderOfArrival )\n  {\n    v5 = LOBYTE(a1->m_nTag) == 0;\n    *(_QWORD *)&a1->m_uOrderOfArrival = 0;\n    if ( !v5 )\n      FriendRequestPopup::onClose((FriendRequestPopup *)((char *)a1 - 640), nullptr);\n  }\n}", "assembly": "; \n; FriendRequestPopup::onClosePopup from 0x140297230 to 0x140297289 (89 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1405791b8\n; > <???> @ 0x1406d1c28\n; > <???> @ 0x1406d1c34\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140297230\npush    rdi                                                            ; +0x5, 0x140297235\nsub     rsp, 20h                                                       ; +0x6, 0x140297236\nmov     rax, [rdx]                                                     ; +0xa, 0x14029723a\nmov     rbx, rdx                                                       ; +0xd, 0x14029723d\nmov     rdi, rcx                                                       ; +0x10, 0x140297240\nxor     edx, edx                                                       ; +0x13, 0x140297243\nmov     rcx, rbx                                                       ; +0x15, 0x140297245\ncall    qword ptr [rax+3D0h]                                           ; +0x18, 0x140297248\nmov     rax, [rbx]                                                     ; +0x1e, 0x14029724e\nmov     dl, 1                                                          ; +0x21, 0x140297251\nmov     rcx, rbx                                                       ; +0x23, 0x140297253\ncall    qword ptr [rax+1F8h]                                           ; +0x26, 0x140297256\ncmp     rbx, [rdi+30h]                                                 ; +0x2c, 0x14029725c\njnz     short loc_14029727E                                            ; +0x30, 0x140297260\ncmp     byte ptr [rdi+10h], 0                                          ; +0x32, 0x140297262\nmov     qword ptr [rdi+30h], 0                                         ; +0x36, 0x140297266\njz      short loc_14029727E                                            ; +0x3e, 0x14029726e\nlea     rcx, [rdi-280h]                                                ; +0x40, 0x140297270\nxor     edx, edx                                                       ; +0x47, 0x140297277\ncall    FriendRequestPopup__onClose                                    ; +0x49, 0x140297279\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4e, 0x14029727e\nadd     rsp, 20h                                                       ; +0x53, 0x140297283\npop     rdi                                                            ; +0x57, 0x140297287\nretn                                                                   ; +0x58, 0x140297288", "xrefs": ["<???> @ 0x1405791b8", "<???> @ 0x1406d1c28", "<???> @ 0x1406d1c34"], "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"}