{"type": "func", "start": 390080, "end": 390196, "name": "sub_5F3C0", "pseudocode": "// \n// sub_5F3C0 from 0x5f3c0 to 0x5f434 (116 bytes)\n// \n// 1 xrefs:\n// > FMOD_System_Create @ 0x50334\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_5F3C0(__int64 a1)\n{\n  int v1; // w8\n  __int64 result; // x0\n\n  v1 = *(_DWORD *)(a1 + 16);\n  if ( v1 )\n    goto LABEL_2;\n  result = sub_5F560(a1 + 304);\n  if ( !(_DWORD)result )\n  {\n    result = sub_5F560(a1 + 296);\n    if ( !(_DWORD)result )\n    {\n      result = sub_5F560(a1 + 312);\n      if ( !(_DWORD)result )\n      {\n        result = sub_5F560(a1 + 8);\n        if ( !(_DWORD)result )\n        {\n          result = sub_E69C8();\n          if ( !(_DWORD)result )\n          {\n            v1 = *(_DWORD *)(a1 + 16);\nLABEL_2:\n            *(_DWORD *)(a1 + 16) = v1 + 1;\n            return 0;\n          }\n        }\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_5F3C0 from 0x5f3c0 to 0x5f434 (116 bytes)\n; \n; 1 xrefs:\n; > FMOD_System_Create @ 0x50334\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, 0x5f3c0\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x5f3c4\nLDR             W8, [X0,#0x10]                                         ; +0x8, 0x5f3c8\nMOV             X19, X0                                                ; +0xc, 0x5f3cc\nADD             X29, SP, #0x10                                         ; +0x10, 0x5f3d0\nCBZ             W8, loc_5F3E8                                          ; +0x14, 0x5f3d4\nMOV             W0, WZR                                                ; +0x18, 0x5f3d8\nADD             W8, W8, #1                                             ; +0x1c, 0x5f3dc\nSTR             W8, [X19,#0x10]                                        ; +0x20, 0x5f3e0\nB               loc_5F420                                              ; +0x24, 0x5f3e4\nADD             X0, X19, #0x130                                        ; +0x28, 0x5f3e8\nBL              sub_5F560                                              ; +0x2c, 0x5f3ec\nCBNZ            W0, loc_5F420                                          ; +0x30, 0x5f3f0\nADD             X0, X19, #0x128                                        ; +0x34, 0x5f3f4\nBL              sub_5F560                                              ; +0x38, 0x5f3f8\nCBNZ            W0, loc_5F420                                          ; +0x3c, 0x5f3fc\nADD             X0, X19, #0x138                                        ; +0x40, 0x5f400\nBL              sub_5F560                                              ; +0x44, 0x5f404\nCBNZ            W0, loc_5F420                                          ; +0x48, 0x5f408\nADD             X0, X19, #8                                            ; +0x4c, 0x5f40c\nBL              sub_5F560                                              ; +0x50, 0x5f410\nCBNZ            W0, loc_5F420                                          ; +0x54, 0x5f414\nBL              sub_E69C8                                              ; +0x58, 0x5f418\nCBZ             W0, loc_5F42C                                          ; +0x5c, 0x5f41c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x60, 0x5f420\nLDR             X19, [SP+0x10+var_10],#0x20                            ; +0x64, 0x5f424\nRET                                                                    ; +0x68, 0x5f428\nLDR             W8, [X19,#0x10]                                        ; +0x6c, 0x5f42c\nB               loc_5F3D8                                              ; +0x70, 0x5f430", "xrefs": ["FMOD_System_Create @ 0x50334"], "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"}