{"type": "func", "start": 535956, "end": 536032, "name": "sub_82D94", "pseudocode": "// \n// sub_82D94 from 0x82d94 to 0x82de0 (76 bytes)\n// \n// 1 xrefs:\n// > sub_838F0 @ 0x839ac\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_82D94(__int64 a1)\n{\n  _DWORD *v1; // x19\n  __int64 v2; // x0\n  __int64 v4; // [xsp+0h] [xbp-20h] BYREF\n\n  v1 = (_DWORD *)a1;\n  v4 = *(_QWORD *)(a1 + 32);\n  v2 = FMOD_OS_CriticalSection_Enter(v4);\n  sub_83A20(v2);\n  LODWORD(v1) = v1[2] - v1[3] + v1[4];\n  sub_52090((__int64)&v4);\n  return (unsigned int)v1;\n}", "assembly": "; \n; sub_82D94 from 0x82d94 to 0x82de0 (76 bytes)\n; \n; 1 xrefs:\n; > sub_838F0 @ 0x839ac\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\nSUB             SP, SP, #0x30                                          ; +0x0, 0x82d94\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x4, 0x82d98\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x82d9c\nMOV             X19, X0                                                ; +0xc, 0x82da0\nLDR             X0, [X0,#0x20]                                         ; +0x10, 0x82da4\nADD             X29, SP, #0x20                                         ; +0x14, 0x82da8\nSTR             X0, [SP,#0x20+var_20]                                  ; +0x18, 0x82dac\nBL              .FMOD_OS_CriticalSection_Enter                         ; +0x1c, 0x82db0\nBL              sub_83A20                                              ; +0x20, 0x82db4\nLDP             W8, W9, [X19,#8]                                       ; +0x24, 0x82db8\nLDR             W10, [X19,#0x10]                                       ; +0x28, 0x82dbc\nMOV             X0, SP                                                 ; +0x2c, 0x82dc0\nSUB             W8, W8, W9                                             ; +0x30, 0x82dc4\nADD             W19, W8, W10                                           ; +0x34, 0x82dc8\nBL              sub_52090                                              ; +0x38, 0x82dcc\nMOV             W0, W19                                                ; +0x3c, 0x82dd0\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x40, 0x82dd4\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x44, 0x82dd8\nB               loc_83A18                                              ; +0x48, 0x82ddc", "xrefs": ["sub_838F0 @ 0x839ac"], "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"}