{"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 (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_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 (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; \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_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"}