{"type": "func", "start": 425400, "end": 425482, "name": "sub_67DB8", "pseudocode": "// \n// sub_67DB8 from 0x67db8 to 0x67e0a (82 bytes)\n// \n// 1 xrefs:\n// > sub_6816C @ 0x6816e\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:40:56 +0000\n// \n\nint __fastcall sub_67DB8(_DWORD *a1, int a2, int a3, int a4)\n{\n  int v5; // r4\n  int v7; // [sp+0h] [bp-10h] BYREF\n  int v8; // [sp+4h] [bp-Ch]\n\n  v7 = a3;\n  v8 = a4;\n  if ( a1[96] != 1 )\n    return 0;\n  v7 = FMOD::DSPTransceiver::sCriticalSection[0];\n  j_FMOD_OS_CriticalSection_Enter(FMOD::DSPTransceiver::sCriticalSection[0]);\n  LOBYTE(v8) = 1;\n  v5 = sub_67A08(FMOD::DSPTransceiver::sCriticalSection[a1[40] + 4] + 76 * a1[128], a1 + 100, -1);\n  sub_44984((int)&v7);\n  if ( !v5 )\n    return 0;\n  return v5;\n}", "assembly": "; \n; sub_67DB8 from 0x67db8 to 0x67e0a (82 bytes)\n; \n; 1 xrefs:\n; > sub_6816C @ 0x6816e\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:40:56 +0000\n; \nPUSH            {R2-R5,R7,LR}                                          ; +0x0, 0x67db8\nADD             R7, SP, #0x10                                          ; +0x2, 0x67dba\nMOV             R4, R0                                                 ; +0x4, 0x67dbc\nLDR.W           R0, [R0,#0x180]                                        ; +0x6, 0x67dbe\nCMP             R0, #1                                                 ; +0xa, 0x67dc2\nBNE             loc_67E02                                              ; +0xc, 0x67dc4\nLDR             R5, =(_ZN4FMOD14DSPTransceiver16sCriticalSectionE - 0x67DCC); FMOD::DSPTransceiver::sCriticalSection ... ; +0xe, 0x67dc6\nADD             R5, PC; FMOD::DSPTransceiver::sCriticalSection         ; +0x10, 0x67dc8\nLDR             R0, [R5]; FMOD::DSPTransceiver::sCriticalSection       ; +0x12, 0x67dca\nSTR             R0, [SP,#8+var_8]                                      ; +0x14, 0x67dcc\nBLX             j_FMOD_OS_CriticalSection_Enter                        ; +0x16, 0x67dce\nMOVS            R0, #1                                                 ; +0x1a, 0x67dd2\nMOVS            R2, #0x4C ; 'L'                                        ; +0x1c, 0x67dd4\nSTRB.W          R0, [SP,#8+var_4]                                      ; +0x1e, 0x67dd6\nLDR.W           R0, [R4,#0xA0]                                         ; +0x22, 0x67dda\nLDR.W           R1, [R4,#0x200]                                        ; +0x26, 0x67dde\nADD.W           R0, R5, R0,LSL#2                                       ; +0x2a, 0x67de2\nLDR             R0, [R0,#0x10]                                         ; +0x2e, 0x67de6\nMLA             R0, R1, R2, R0                                         ; +0x30, 0x67de8\nADD.W           R1, R4, #0x190                                         ; +0x34, 0x67dec\nMOV.W           R2, #0xFFFFFFFF                                        ; +0x38, 0x67df0\nBL              sub_67A08                                              ; +0x3c, 0x67df4\nMOV             R4, R0                                                 ; +0x40, 0x67df8\nMOV             R0, SP                                                 ; +0x42, 0x67dfa\nBL              sub_44984                                              ; +0x44, 0x67dfc\nCBNZ            R4, loc_67E04                                          ; +0x48, 0x67e00\nMOVS            R4, #0                                                 ; +0x4a, 0x67e02\nMOV             R0, R4                                                 ; +0x4c, 0x67e04\nADD             SP, SP, #8                                             ; +0x4e, 0x67e06\nPOP             {R4,R5,R7,PC}                                          ; +0x50, 0x67e08", "xrefs": ["sub_6816C @ 0x6816e"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}