{"type": "func", "start": 787848, "end": 787864, "name": "FMOD_OS_CriticalSection_Enter", "pseudocode": "// \n// FMOD_OS_CriticalSection_Enter from 0xc0588 to 0xc0598 (16 bytes)\n// \n// 1 xrefs:\n// > j_FMOD_OS_CriticalSection_Enter @ 0xe1278\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:41:48 +0000\n// \n\nint __fastcall FMOD_OS_CriticalSection_Enter(pthread_mutex_t *a1)\n{\n  int result; // r0\n\n  result = pthread_mutex_lock(a1);\n  if ( result )\n    return 28;\n  return result;\n}", "assembly": "; \n; FMOD_OS_CriticalSection_Enter from 0xc0588 to 0xc0598 (16 bytes)\n; \n; 1 xrefs:\n; > j_FMOD_OS_CriticalSection_Enter @ 0xe1278\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:41:48 +0000\n; \nPUSH            {R7,LR}                                                ; +0x0, 0xc0588\nMOV             R7, SP                                                 ; +0x2, 0xc058a\nBLX             pthread_mutex_lock                                     ; +0x4, 0xc058c\nCMP             R0, #0                                                 ; +0x8, 0xc0590\nIT NE                                                                  ; +0xa, 0xc0592\nMOVNE           R0, #0x1C                                              ; +0xc, 0xc0594\nPOP             {R7,PC}                                                ; +0xe, 0xc0596", "xrefs": ["j_FMOD_OS_CriticalSection_Enter @ 0xe1278"], "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"}