{"type": "func", "start": 390196, "end": 390340, "name": "sub_5F434", "pseudocode": "// \n// sub_5F434 from 0x5f434 to 0x5f4c4 (144 bytes)\n// \n// 1 xrefs:\n// > sub_6B648 @ 0x6b6b0\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 12:13:53 +0000\n// \n\n__int64 __fastcall sub_5F434(__int64 a1)\n{\n  int v1; // w8\n  __int64 result; // x0\n\n  v1 = *(_DWORD *)(a1 + 16) - 1;\n  *(_DWORD *)(a1 + 16) = v1;\n  if ( v1 )\n    return 0;\n  result = sub_51E14();\n  if ( !(_DWORD)result )\n  {\n    result = sub_DFCBC();\n    if ( !(_DWORD)result )\n    {\n      result = sub_E69F8();\n      if ( !(_DWORD)result )\n      {\n        if ( *(_QWORD *)(a1 + 312) )\n        {\n          sub_5F558();\n          *(_QWORD *)(a1 + 312) = 0;\n        }\n        if ( *(_QWORD *)(a1 + 304) )\n        {\n          sub_5F558();\n          *(_QWORD *)(a1 + 304) = 0;\n        }\n        if ( *(_QWORD *)(a1 + 296) )\n        {\n          sub_5F558();\n          *(_QWORD *)(a1 + 296) = 0;\n        }\n        result = *(_QWORD *)(a1 + 8);\n        if ( result )\n        {\n          sub_5F558();\n          *(_QWORD *)(a1 + 8) = 0;\n          return 0;\n        }\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_5F434 from 0x5f434 to 0x5f4c4 (144 bytes)\n; \n; 1 xrefs:\n; > sub_6B648 @ 0x6b6b0\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 12:13:53 +0000\n; \nSTR             X19, [SP,#-0x10+var_10]!                               ; +0x0, 0x5f434\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x5f438\nLDR             W8, [X0,#0x10]                                         ; +0x8, 0x5f43c\nADD             X29, SP, #0x10                                         ; +0xc, 0x5f440\nSUBS            W8, W8, #1                                             ; +0x10, 0x5f444\nSTR             W8, [X0,#0x10]                                         ; +0x14, 0x5f448\nB.EQ            loc_5F458                                              ; +0x18, 0x5f44c\nMOV             W0, WZR                                                ; +0x1c, 0x5f450\nB               loc_5F4B8                                              ; +0x20, 0x5f454\nMOV             X19, X0                                                ; +0x24, 0x5f458\nBL              sub_51E14                                              ; +0x28, 0x5f45c\nCBNZ            W0, loc_5F4B8                                          ; +0x2c, 0x5f460\nBL              sub_DFCBC                                              ; +0x30, 0x5f464\nCBNZ            W0, loc_5F4B8                                          ; +0x34, 0x5f468\nBL              sub_E69F8                                              ; +0x38, 0x5f46c\nCBNZ            W0, loc_5F4B8                                          ; +0x3c, 0x5f470\nLDR             X0, [X19,#0x138]                                       ; +0x40, 0x5f474\nCBZ             X0, loc_5F484                                          ; +0x44, 0x5f478\nBL              sub_5F558                                              ; +0x48, 0x5f47c\nSTR             XZR, [X19,#0x138]                                      ; +0x4c, 0x5f480\nLDR             X0, [X19,#0x130]                                       ; +0x50, 0x5f484\nCBZ             X0, loc_5F494                                          ; +0x54, 0x5f488\nBL              sub_5F558                                              ; +0x58, 0x5f48c\nSTR             XZR, [X19,#0x130]                                      ; +0x5c, 0x5f490\nLDR             X0, [X19,#0x128]                                       ; +0x60, 0x5f494\nCBZ             X0, loc_5F4A4                                          ; +0x64, 0x5f498\nBL              sub_5F558                                              ; +0x68, 0x5f49c\nSTR             XZR, [X19,#0x128]                                      ; +0x6c, 0x5f4a0\nLDR             X0, [X19,#8]                                           ; +0x70, 0x5f4a4\nCBZ             X0, loc_5F4B8                                          ; +0x74, 0x5f4a8\nBL              sub_5F558                                              ; +0x78, 0x5f4ac\nMOV             W0, WZR                                                ; +0x7c, 0x5f4b0\nSTR             XZR, [X19,#8]                                          ; +0x80, 0x5f4b4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x84, 0x5f4b8\nLDR             X19, [SP+0x10+var_10],#0x20                            ; +0x88, 0x5f4bc\nRET                                                                    ; +0x8c, 0x5f4c0", "xrefs": ["sub_6B648 @ 0x6b6b0"], "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"}