{"type": "func", "start": 322910, "end": 322932, "name": "sub_4ED5E", "pseudocode": "// \n// sub_4ED5E from 0x4ed5e to 0x4ed74 (22 bytes)\n// \n// 1 xrefs:\n// > sub_59CE4 @ 0x59d7e\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_4ED5E(int *a1)\n{\n  int v1; // r2\n  int v2; // r1\n\n  v1 = a1[2];\n  v2 = *a1 + 1;\n  *a1 = v2;\n  if ( v2 == v1 )\n    return j_FMOD_OS_CriticalSection_Enter(a1[1]);\n  else\n    return 0;\n}", "assembly": "; \n; sub_4ED5E from 0x4ed5e to 0x4ed74 (22 bytes)\n; \n; 1 xrefs:\n; > sub_59CE4 @ 0x59d7e\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, 0x4ed5e\nLDR             R2, [R0,#8]                                            ; +0x2, 0x4ed60\nADDS            R1, #1                                                 ; +0x4, 0x4ed62\nSTR             R1, [R0]                                               ; +0x6, 0x4ed64\nCMP             R1, R2                                                 ; +0x8, 0x4ed66\nITT EQ                                                                 ; +0xa, 0x4ed68\nLDREQ           R0, [R0,#4]                                            ; +0xc, 0x4ed6a\nBEQ.W           loc_DDC50                                              ; +0xe, 0x4ed6c\nMOVS            R0, #0                                                 ; +0x12, 0x4ed70\nBX              LR                                                     ; +0x14, 0x4ed72", "xrefs": ["sub_59CE4 @ 0x59d7e"], "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"}