{"type": "func", "start": 322932, "end": 322954, "name": "sub_4ED74", "pseudocode": "// \n// sub_4ED74 from 0x4ed74 to 0x4ed8a (22 bytes)\n// \n// 1 xrefs:\n// > sub_59D98 @ 0x59dc0\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 sub_4ED74(int *a1)\n{\n  int v1; // r1\n  int v2; // r2\n\n  v1 = *a1;\n  v2 = a1[2];\n  --*a1;\n  if ( v1 == v2 )\n    return j_j_FMOD_OS_CriticalSection_Leave(a1[1]);\n  else\n    return 0;\n}", "assembly": "; \n; sub_4ED74 from 0x4ed74 to 0x4ed8a (22 bytes)\n; \n; 1 xrefs:\n; > sub_59D98 @ 0x59dc0\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\nLDR             R1, [R0]                                               ; +0x0, 0x4ed74\nLDR             R2, [R0,#8]                                            ; +0x2, 0x4ed76\nSUBS            R3, R1, #1                                             ; +0x4, 0x4ed78\nSTR             R3, [R0]                                               ; +0x6, 0x4ed7a\nCMP             R1, R2                                                 ; +0x8, 0x4ed7c\nITT EQ                                                                 ; +0xa, 0x4ed7e\nLDREQ           R0, [R0,#4]                                            ; +0xc, 0x4ed80\nBEQ.W           j_j_FMOD_OS_CriticalSection_Leave                      ; +0xe, 0x4ed82\nMOVS            R0, #0                                                 ; +0x12, 0x4ed86\nBX              LR                                                     ; +0x14, 0x4ed88", "xrefs": ["sub_59D98 @ 0x59dc0"], "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"}