{"type": "func", "start": 410076, "end": 410124, "name": "sub_641DC", "pseudocode": "// \n// sub_641DC from 0x641dc to 0x6420c (48 bytes)\n// \n// 6 xrefs:\n// > sub_63AAC @ 0x63e0c\n// > sub_63AAC @ 0x63e1c\n// > sub_8337C @ 0x833f4\n// > sub_834C0 @ 0x83650\n// > sub_836EC @ 0x837b0\n// > sub_836EC @ 0x837ec\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\n__int64 __fastcall sub_641DC(__int64 *a1)\n{\n  __int64 result; // x0\n\n  result = *a1;\n  if ( result )\n  {\n    result = FMOD_OS_CriticalSection_Leave(result);\n    if ( !(_DWORD)result )\n      *a1 = 0;\n  }\n  return result;\n}", "assembly": "; \n; sub_641DC from 0x641dc to 0x6420c (48 bytes)\n; \n; 6 xrefs:\n; > sub_63AAC @ 0x63e0c\n; > sub_63AAC @ 0x63e1c\n; > sub_8337C @ 0x833f4\n; > sub_834C0 @ 0x83650\n; > sub_836EC @ 0x837b0\n; > sub_836EC @ 0x837ec\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\nSTR             X19, [SP,#-0x10+var_10]!                               ; +0x0, 0x641dc\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x641e0\nMOV             X19, X0                                                ; +0x8, 0x641e4\nLDR             X0, [X0]                                               ; +0xc, 0x641e8\nADD             X29, SP, #0x10                                         ; +0x10, 0x641ec\nCBZ             X0, loc_64200                                          ; +0x14, 0x641f0\nBL              .FMOD_OS_CriticalSection_Leave                         ; +0x18, 0x641f4\nCBNZ            W0, loc_64200                                          ; +0x1c, 0x641f8\nSTR             XZR, [X19]                                             ; +0x20, 0x641fc\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x24, 0x64200\nLDR             X19, [SP+0x10+var_10],#0x20                            ; +0x28, 0x64204\nRET                                                                    ; +0x2c, 0x64208", "xrefs": ["sub_63AAC @ 0x63e0c", "sub_63AAC @ 0x63e1c", "sub_8337C @ 0x833f4", "sub_834C0 @ 0x83650", "sub_836EC @ 0x837b0", "sub_836EC @ 0x837ec"], "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"}