{"type": "func", "start": 381708, "end": 381784, "name": "sub_5D30C", "pseudocode": "// \n// sub_5D30C from 0x5d30c to 0x5d358 (76 bytes)\n// \n// 1 xrefs:\n// > sub_6A544 @ 0x6aa58\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\nvoid __fastcall sub_5D30C(__int64 a1)\n{\n  int v2; // w0\n\n  if ( *(_BYTE *)(a1 + 408) )\n  {\n    sub_5CDC4(a1 + 16);\n    if ( !v2 && !(unsigned int)FMOD_OS_CriticalSection_Free(*(_QWORD *)(a1 + 400), 0) )\n    {\n      *(_QWORD *)(a1 + 400) = 0;\n      *(_BYTE *)(a1 + 408) = 0;\n    }\n  }\n  JUMPOUT(0x5D4B0);\n}", "assembly": "; \n; sub_5D30C from 0x5d30c to 0x5d358 (76 bytes)\n; \n; 1 xrefs:\n; > sub_6A544 @ 0x6aa58\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\nSTR             X19, [SP,#-0x10+var_10]!                               ; +0x0, 0x5d30c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x5d310\nLDRB            W8, [X0,#0x198]                                        ; +0x8, 0x5d314\nADD             X29, SP, #0x10                                         ; +0xc, 0x5d318\nCBZ             W8, loc_5D34C                                          ; +0x10, 0x5d31c\nMOV             X19, X0                                                ; +0x14, 0x5d320\nADD             X0, X0, #0x10                                          ; +0x18, 0x5d324\nBL              sub_5CDC4                                              ; +0x1c, 0x5d328\nCBNZ            W0, loc_5D350                                          ; +0x20, 0x5d32c\nLDR             X0, [X19,#0x190]                                       ; +0x24, 0x5d330\nMOV             W1, WZR                                                ; +0x28, 0x5d334\nBL              .FMOD_OS_CriticalSection_Free                          ; +0x2c, 0x5d338\nCBNZ            W0, loc_5D350                                          ; +0x30, 0x5d33c\nSTR             XZR, [X19,#0x190]                                      ; +0x34, 0x5d340\nSTRB            WZR, [X19,#0x198]                                      ; +0x38, 0x5d344\nB               loc_5D350                                              ; +0x3c, 0x5d348\nMOV             W0, WZR                                                ; +0x40, 0x5d34c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x44, 0x5d350\nB               loc_5D4B0                                              ; +0x48, 0x5d354", "xrefs": ["sub_6A544 @ 0x6aa58"], "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"}