{"type": "func", "start": 426964, "end": 427004, "name": "sub_683D4", "pseudocode": "// \n// sub_683D4 from 0x683d4 to 0x683fc (40 bytes)\n// \n// 0 xrefs:\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\nint sub_683D4()\n{\n  int v0; // r0\n  int result; // r0\n\n  v0 = FMOD::DSPTransceiver::sRefCount;\n  if ( FMOD::DSPTransceiver::sRefCount )\n    goto LABEL_2;\n  result = j_FMOD_OS_CriticalSection_Create(FMOD::DSPTransceiver::sCriticalSection, 0);\n  if ( !result )\n  {\n    v0 = FMOD::DSPTransceiver::sRefCount;\nLABEL_2:\n    FMOD::DSPTransceiver::sRefCount = v0 + 1;\n    return 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_683D4 from 0x683d4 to 0x683fc (40 bytes)\n; \n; 0 xrefs:\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\nPUSH            {R4,R5,R7,LR}                                          ; +0x0, 0x683d4\nADD             R7, SP, #8                                             ; +0x2, 0x683d6\nLDR             R5, =(_ZN4FMOD14DSPTransceiver16sCriticalSectionE - 0x683DE); FMOD::DSPTransceiver::sCriticalSection ... ; +0x4, 0x683d8\nADD             R5, PC; FMOD::DSPTransceiver::sCriticalSection         ; +0x6, 0x683da\nLDR             R0, [R5,#(_ZN4FMOD14DSPTransceiver9sRefCountE - 0xF43D8)]; FMOD::DSPTransceiver::sRefCount ; +0x8, 0x683dc\nCBZ             R0, loc_683E8                                          ; +0xa, 0x683de\nADDS            R0, #1                                                 ; +0xc, 0x683e0\nSTR             R0, [R5,#(_ZN4FMOD14DSPTransceiver9sRefCountE - 0xF43D8)]; FMOD::DSPTransceiver::sRefCount ; +0xe, 0x683e2\nMOVS            R0, #0                                                 ; +0x10, 0x683e4\nPOP             {R4,R5,R7,PC}                                          ; +0x12, 0x683e6\nLDR             R4, =(_ZN4FMOD14DSPTransceiver16sCriticalSectionE - 0x683F0); FMOD::DSPTransceiver::sCriticalSection ... ; +0x14, 0x683e8\nMOVS            R1, #0                                                 ; +0x16, 0x683ea\nADD             R4, PC; FMOD::DSPTransceiver::sCriticalSection         ; +0x18, 0x683ec\nMOV             R0, R4                                                 ; +0x1a, 0x683ee\nBLX             j_FMOD_OS_CriticalSection_Create                       ; +0x1c, 0x683f0\nCBZ             R0, loc_683F8                                          ; +0x20, 0x683f4\nPOP             {R4,R5,R7,PC}                                          ; +0x22, 0x683f6\nLDR             R0, [R4,#(_ZN4FMOD14DSPTransceiver9sRefCountE - 0xF43D8)]; FMOD::DSPTransceiver::sRefCount ; +0x24, 0x683f8\nB               loc_683E0                                              ; +0x26, 0x683fa", "xrefs": [], "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"}