{"type": "func", "start": 443748, "end": 443786, "name": "sub_6C564", "pseudocode": "// \n// sub_6C564 from 0x6c564 to 0x6c58a (38 bytes)\n// \n// 0 xrefs:\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_6C564(int a1, int a2, int a3, int a4)\n{\n  int v6; // [sp+0h] [bp-10h] BYREF\n  int v7; // [sp+4h] [bp-Ch]\n\n  v6 = a3;\n  v7 = a4;\n  v6 = *(_DWORD *)(a1 + 28);\n  j_FMOD_OS_CriticalSection_Enter(v6);\n  LOBYTE(v7) = 1;\n  ++*(_DWORD *)(a1 + 36);\n  sub_44984((int)&v6);\n  return 0;\n}", "assembly": "; \n; sub_6C564 from 0x6c564 to 0x6c58a (38 bytes)\n; \n; 0 xrefs:\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            {R2-R4,R6,R7,LR}                                       ; +0x0, 0x6c564\nADD             R7, SP, #0x10                                          ; +0x2, 0x6c566\nMOV             R4, R0                                                 ; +0x4, 0x6c568\nLDR             R0, [R0,#0x1C]                                         ; +0x6, 0x6c56a\nSTR             R0, [SP,#8+var_8]                                      ; +0x8, 0x6c56c\nBLX             j_FMOD_OS_CriticalSection_Enter                        ; +0xa, 0x6c56e\nMOVS            R0, #1                                                 ; +0xe, 0x6c572\nSTRB.W          R0, [SP,#8+var_4]                                      ; +0x10, 0x6c574\nLDR             R0, [R4,#0x24]                                         ; +0x14, 0x6c578\nADDS            R0, #1                                                 ; +0x16, 0x6c57a\nSTR             R0, [R4,#0x24]                                         ; +0x18, 0x6c57c\nMOV             R0, SP                                                 ; +0x1a, 0x6c57e\nBL              sub_44984                                              ; +0x1c, 0x6c580\nMOVS            R0, #0                                                 ; +0x20, 0x6c584\nADD             SP, SP, #8                                             ; +0x22, 0x6c586\nPOP             {R4,R6,R7,PC}                                          ; +0x24, 0x6c588", "xrefs": [], "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"}