{"type": "func", "start": 4298608548, "end": 4298608664, "name": "FriendRequestPopup::onClosePopup", "pseudocode": "// \n// FriendRequestPopup::onClosePopup from 0x100378fa4 to 0x100379018 (116 bytes)\n// \n// 2 xrefs:\n// > sub_100379018 @ 0x10037901c\n// > <???> @ 0x100934d80\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:03:26 +0000\n// \n\n__int64 __fastcall FriendRequestPopup::onClosePopup(__int64 a1, __int64 a2)\n{\n  __int64 result; // x0\n\n  (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)a2 + 1072LL))(a2, 0);\n  result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)a2 + 528LL))(a2, 1);\n  if ( *(_QWORD *)(a1 + 720) == a2 )\n  {\n    *(_QWORD *)(a1 + 720) = 0;\n    if ( *(_BYTE *)(a1 + 688) == 1 )\n      return sub_1003781C0(a1);\n  }\n  return result;\n}", "assembly": "; \n; FriendRequestPopup::onClosePopup from 0x100378fa4 to 0x100379018 (116 bytes)\n; \n; 2 xrefs:\n; > sub_100379018 @ 0x10037901c\n; > <???> @ 0x100934d80\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:03:26 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100378fa4\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100378fa8\nADD             X29, SP, #0x10                                         ; +0x8, 0x100378fac\nMOV             X20, X1                                                ; +0xc, 0x100378fb0\nMOV             X19, X0                                                ; +0x10, 0x100378fb4\nLDR             X8, [X1]                                               ; +0x14, 0x100378fb8\nLDR             X8, [X8,#0x430]                                        ; +0x18, 0x100378fbc\nMOV             X0, X1                                                 ; +0x1c, 0x100378fc0\nMOV             W1, #0                                                 ; +0x20, 0x100378fc4\nBLR             X8                                                     ; +0x24, 0x100378fc8\nLDR             X8, [X20]                                              ; +0x28, 0x100378fcc\nLDR             X8, [X8,#0x210]                                        ; +0x2c, 0x100378fd0\nMOV             X0, X20                                                ; +0x30, 0x100378fd4\nMOV             W1, #1                                                 ; +0x34, 0x100378fd8\nBLR             X8                                                     ; +0x38, 0x100378fdc\nLDR             X8, [X19,#0x2D0]                                       ; +0x3c, 0x100378fe0\nCMP             X8, X20                                                ; +0x40, 0x100378fe4\nB.NE            loc_10037900C                                          ; +0x44, 0x100378fe8\nSTR             XZR, [X19,#0x2D0]                                      ; +0x48, 0x100378fec\nLDRB            W8, [X19,#0x2B0]                                       ; +0x4c, 0x100378ff0\nCMP             W8, #1                                                 ; +0x50, 0x100378ff4\nB.NE            loc_10037900C                                          ; +0x54, 0x100378ff8\nMOV             X0, X19                                                ; +0x58, 0x100378ffc\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x5c, 0x100379000\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x60, 0x100379004\nB               sub_1003781C0                                          ; +0x64, 0x100379008\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x68, 0x10037900c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x6c, 0x100379010\nRET                                                                    ; +0x70, 0x100379014", "xrefs": ["sub_100379018 @ 0x10037901c", "<???> @ 0x100934d80"], "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"}