{"type": "func", "start": 390744, "end": 390860, "name": "sub_5F658", "pseudocode": "// \n// sub_5F658 from 0x5f658 to 0x5f6cc (116 bytes)\n// \n// 2 xrefs:\n// > sub_5F7A0 @ 0x5f7d0\n// > sub_5F970 @ 0x5f9e8\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\n__int64 __fastcall sub_5F658(__int64 a1)\n{\n  _QWORD *v2; // x0\n  _QWORD *v3; // x0\n  __int64 v4; // x8\n  __int64 v5; // x2\n\n  if ( *(_QWORD *)(a1 + 32) )\n  {\n    v2 = sub_5FB58(off_114000);\n    sub_5FB74(v2);\n    *(_QWORD *)(a1 + 32) = 0;\n  }\n  if ( *(_QWORD *)(a1 + 40) )\n  {\n    v3 = sub_5FB58(off_114000);\n    sub_5FB74(v3);\n    *(_QWORD *)(a1 + 40) = 0;\n  }\n  sub_5FB58(off_114000);\n  sub_E2D74(*(_QWORD *)(v4 + 432), a1, v5, 92, 1);\n  return 0;\n}", "assembly": "; \n; sub_5F658 from 0x5f658 to 0x5f6cc (116 bytes)\n; \n; 2 xrefs:\n; > sub_5F7A0 @ 0x5f7d0\n; > sub_5F970 @ 0x5f9e8\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, 0x5f658\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x5f65c\nADRP            X20, #off_10F7A0@PAGE                                  ; +0x8, 0x5f660\nLDR             X1, [X0,#0x20]                                         ; +0xc, 0x5f664\nLDR             X20, [X20,#off_10F7A0@PAGEOFF]; off_114000             ; +0x10, 0x5f668\nMOV             X19, X0                                                ; +0x14, 0x5f66c\nADD             X29, SP, #0x10                                         ; +0x18, 0x5f670\nCBZ             X1, loc_5F68C                                          ; +0x1c, 0x5f674\nLDR             X8, [X20]; qword_11F800                                ; +0x20, 0x5f678\nBL              sub_5FB58                                              ; +0x24, 0x5f67c\nMOV             W3, #0x50 ; 'P'                                        ; +0x28, 0x5f680\nBL              sub_5FB74                                              ; +0x2c, 0x5f684\nSTR             XZR, [X19,#0x20]                                       ; +0x30, 0x5f688\nLDR             X1, [X19,#0x28]                                        ; +0x34, 0x5f68c\nCBZ             X1, loc_5F6A8                                          ; +0x38, 0x5f690\nLDR             X8, [X20]; qword_11F800                                ; +0x3c, 0x5f694\nBL              sub_5FB58                                              ; +0x40, 0x5f698\nMOV             W3, #0x58 ; 'X'                                        ; +0x44, 0x5f69c\nBL              sub_5FB74                                              ; +0x48, 0x5f6a0\nSTR             XZR, [X19,#0x28]                                       ; +0x4c, 0x5f6a4\nLDR             X8, [X20]; qword_11F800                                ; +0x50, 0x5f6a8\nBL              sub_5FB58                                              ; +0x54, 0x5f6ac\nMOV             W3, #0x5C ; '\\'                                        ; +0x58, 0x5f6b0\nLDR             X0, [X8,#0x1B0]                                        ; +0x5c, 0x5f6b4\nMOV             W4, #1                                                 ; +0x60, 0x5f6b8\nMOV             X1, X19                                                ; +0x64, 0x5f6bc\nBL              sub_E2D74                                              ; +0x68, 0x5f6c0\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x6c, 0x5f6c4\nB               loc_5FB8C                                              ; +0x70, 0x5f6c8", "xrefs": ["sub_5F7A0 @ 0x5f7d0", "sub_5F970 @ 0x5f9e8"], "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"}