{"type": "func", "start": 381624, "end": 381708, "name": "sub_5D2B8", "pseudocode": "// \n// sub_5D2B8 from 0x5d2b8 to 0x5d30c (84 bytes)\n// \n// 1 xrefs:\n// > sub_70480 @ 0x7048c\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_5D2B8(__int64 a1, __int64 a2)\n{\n  if ( !*(_BYTE *)(a1 + 408) )\n  {\n    *(_QWORD *)a1 = a2;\n    if ( !(unsigned int)FMOD_OS_CriticalSection_Create(a1 + 400, 0) && !(unsigned int)sub_5CCF8(a1 + 16, a1) )\n      *(_BYTE *)(a1 + 408) = 1;\n  }\n  JUMPOUT(0x5D4B0);\n}", "assembly": "; \n; sub_5D2B8 from 0x5d2b8 to 0x5d30c (84 bytes)\n; \n; 1 xrefs:\n; > sub_70480 @ 0x7048c\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, 0x5d2b8\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x5d2bc\nLDRB            W8, [X0,#0x198]                                        ; +0x8, 0x5d2c0\nADD             X29, SP, #0x10                                         ; +0xc, 0x5d2c4\nCBZ             W8, loc_5D2D4                                          ; +0x10, 0x5d2c8\nMOV             W0, WZR                                                ; +0x14, 0x5d2cc\nB               loc_5D304                                              ; +0x18, 0x5d2d0\nMOV             X19, X0                                                ; +0x1c, 0x5d2d4\nSTR             X1, [X0]                                               ; +0x20, 0x5d2d8\nADD             X0, X0, #0x190                                         ; +0x24, 0x5d2dc\nMOV             W1, WZR                                                ; +0x28, 0x5d2e0\nBL              .FMOD_OS_CriticalSection_Create                        ; +0x2c, 0x5d2e4\nCBNZ            W0, loc_5D304                                          ; +0x30, 0x5d2e8\nADD             X0, X19, #0x10                                         ; +0x34, 0x5d2ec\nMOV             X1, X19                                                ; +0x38, 0x5d2f0\nBL              sub_5CCF8                                              ; +0x3c, 0x5d2f4\nCBNZ            W0, loc_5D304                                          ; +0x40, 0x5d2f8\nMOV             W8, #1                                                 ; +0x44, 0x5d2fc\nSTRB            W8, [X19,#0x198]                                       ; +0x48, 0x5d300\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4c, 0x5d304\nB               loc_5D4B0                                              ; +0x50, 0x5d308", "xrefs": ["sub_70480 @ 0x7048c"], "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"}