{"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!\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 __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!\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            {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_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"}