{"type": "func", "start": 5372522928, "end": 5372523017, "name": "FriendRequestPopup::onClosePopup", "pseudocode": "// \n// FriendRequestPopup::onClosePopup from 0x1403a31b0 to 0x1403a3209 (89 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x14077c458\n// > <???> @ 0x140923684\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:31:18 +0000\n// \n\n__int64 __fastcall FriendRequestPopup::onClosePopup(__int64 a1, __int64 a2)\n{\n  __int64 v4; // rdx\n  __int64 result; // rax\n  bool v6; // zf\n\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a2 + 992LL))(a2, 0);\n  LOBYTE(v4) = 1;\n  result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a2 + 520LL))(a2, v4);\n  if ( a2 == *(_QWORD *)(a1 + 48) )\n  {\n    v6 = *(_BYTE *)(a1 + 16) == 0;\n    *(_QWORD *)(a1 + 48) = 0;\n    if ( !v6 )\n      return FriendRequestPopup::onClose(a1 - 672);\n  }\n  return result;\n}", "assembly": "; \n; FriendRequestPopup::onClosePopup from 0x1403a31b0 to 0x1403a3209 (89 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x14077c458\n; > <???> @ 0x140923684\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:31:18 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1403a31b0\npush    rdi                                                            ; +0x5, 0x1403a31b5\nsub     rsp, 20h                                                       ; +0x6, 0x1403a31b6\nmov     rax, [rdx]                                                     ; +0xa, 0x1403a31ba\nmov     rbx, rdx                                                       ; +0xd, 0x1403a31bd\nmov     rdi, rcx                                                       ; +0x10, 0x1403a31c0\nxor     edx, edx                                                       ; +0x13, 0x1403a31c3\nmov     rcx, rbx                                                       ; +0x15, 0x1403a31c5\ncall    qword ptr [rax+3E0h]                                           ; +0x18, 0x1403a31c8\nmov     rax, [rbx]                                                     ; +0x1e, 0x1403a31ce\nmov     dl, 1                                                          ; +0x21, 0x1403a31d1\nmov     rcx, rbx                                                       ; +0x23, 0x1403a31d3\ncall    qword ptr [rax+208h]                                           ; +0x26, 0x1403a31d6\ncmp     rbx, [rdi+30h]                                                 ; +0x2c, 0x1403a31dc\nlea     rcx, [rdi-2A0h]                                                ; +0x30, 0x1403a31e0\njnz     short loc_1403A31FE                                            ; +0x37, 0x1403a31e7\ncmp     byte ptr [rdi+10h], 0                                          ; +0x39, 0x1403a31e9\nmov     qword ptr [rdi+30h], 0                                         ; +0x3d, 0x1403a31ed\njz      short loc_1403A31FE                                            ; +0x45, 0x1403a31f5\nxor     edx, edx                                                       ; +0x47, 0x1403a31f7\ncall    FriendRequestPopup__onClose                                    ; +0x49, 0x1403a31f9\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4e, 0x1403a31fe\nadd     rsp, 20h                                                       ; +0x53, 0x1403a3203\npop     rdi                                                            ; +0x57, 0x1403a3207\nretn                                                                   ; +0x58, 0x1403a3208", "xrefs": ["<???> @ 0x14077c458", "<???> @ 0x140923684"], "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"}