{"type": "func", "start": 457856, "end": 457928, "name": "sub_6FC80", "pseudocode": "// \n// sub_6FC80 from 0x6fc80 to 0x6fcc8 (72 bytes)\n// \n// 1 xrefs:\n// > sub_6E14C @ 0x6e154\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:13:59 +0000\n// \n\n__int64 __fastcall sub_6FC80(__int64 *a1, __int64 a2)\n{\n  __int64 v3; // x0\n  __int64 result; // x0\n\n  v3 = *a1;\n  if ( v3 )\n    FMOD_OS_CriticalSection_Enter(v3);\n  sub_671BC(a2);\n  result = *a1;\n  if ( *a1 )\n    return FMOD_OS_CriticalSection_Leave(result);\n  return result;\n}", "assembly": "; \n; sub_6FC80 from 0x6fc80 to 0x6fcc8 (72 bytes)\n; \n; 1 xrefs:\n; > sub_6E14C @ 0x6e154\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 12:13:59 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x6fc80\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x6fc84\nMOV             X19, X0                                                ; +0x8, 0x6fc88\nLDR             X0, [X0]                                               ; +0xc, 0x6fc8c\nMOV             X20, X1                                                ; +0x10, 0x6fc90\nADD             X29, SP, #0x10                                         ; +0x14, 0x6fc94\nCBZ             X0, loc_6FCA0                                          ; +0x18, 0x6fc98\nBL              .FMOD_OS_CriticalSection_Enter                         ; +0x1c, 0x6fc9c\nMOV             X0, X20                                                ; +0x20, 0x6fca0\nBL              sub_671BC                                              ; +0x24, 0x6fca4\nLDR             X0, [X19]                                              ; +0x28, 0x6fca8\nCBZ             X0, loc_6FCBC                                          ; +0x2c, 0x6fcac\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x30, 0x6fcb0\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x34, 0x6fcb4\nB               .FMOD_OS_CriticalSection_Leave                         ; +0x38, 0x6fcb8\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x3c, 0x6fcbc\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x40, 0x6fcc0\nRET                                                                    ; +0x44, 0x6fcc4", "xrefs": ["sub_6E14C @ 0x6e154"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}