{"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 (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:42 +0000\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 (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:42 +0000\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_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"}