{"type": "func", "start": 390380, "end": 390420, "name": "sub_5F4EC", "pseudocode": "// \n// sub_5F4EC from 0x5f4ec to 0x5f514 (40 bytes)\n// \n// 1 xrefs:\n// > sub_6D8D0 @ 0x6d90c\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_5F4EC(int *a1)\n{\n  int v1; // w8\n  int v2; // w9\n\n  v1 = *a1;\n  v2 = a1[4];\n  --*a1;\n  if ( v1 == v2 )\n    return FMOD_OS_CriticalSection_Leave(*((_QWORD *)a1 + 1));\n  else\n    return 0;\n}", "assembly": "; \n; sub_5F4EC from 0x5f4ec to 0x5f514 (40 bytes)\n; \n; 1 xrefs:\n; > sub_6D8D0 @ 0x6d90c\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\nLDR             W8, [X0]                                               ; +0x0, 0x5f4ec\nLDR             W9, [X0,#0x10]                                         ; +0x4, 0x5f4f0\nSUB             W10, W8, #1                                            ; +0x8, 0x5f4f4\nCMP             W8, W9                                                 ; +0xc, 0x5f4f8\nSTR             W10, [X0]                                              ; +0x10, 0x5f4fc\nB.NE            loc_5F50C                                              ; +0x14, 0x5f500\nLDR             X0, [X0,#8]                                            ; +0x18, 0x5f504\nB               .FMOD_OS_CriticalSection_Leave                         ; +0x1c, 0x5f508\nMOV             W0, WZR                                                ; +0x20, 0x5f50c\nRET                                                                    ; +0x24, 0x5f510", "xrefs": ["sub_6D8D0 @ 0x6d90c"], "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"}