{"type": "func", "start": 536104, "end": 536212, "name": "sub_82E28", "pseudocode": "// \n// sub_82E28 from 0x82e28 to 0x82e94 (108 bytes)\n// \n// 2 xrefs:\n// > sub_83108 @ 0x8314c\n// > sub_83108 @ 0x83158\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:14:08 +0000\n// \n\n__int64 __fastcall sub_82E28(_QWORD *a1)\n{\n  __int64 result; // x0\n\n  sub_E2D74(*(__int64 *)((char *)&qword_1B0 + (_QWORD)off_114000), *a1, \"../../src/fmod_profile_client.cpp\", 370, 1);\n  result = FMOD_OS_CriticalSection_Free(a1[4], 0);\n  if ( !(_DWORD)result )\n  {\n    result = sub_E7174(a1[5]);\n    if ( !(_DWORD)result )\n      return sub_E7174(a1[6]);\n  }\n  return result;\n}", "assembly": "; \n; sub_82E28 from 0x82e28 to 0x82e94 (108 bytes)\n; \n; 2 xrefs:\n; > sub_83108 @ 0x8314c\n; > sub_83108 @ 0x83158\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:14:08 +0000\n; \nSTR             X19, [SP,#-0x10+var_10]!                               ; +0x0, 0x82e28\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x82e2c\nADRP            X8, #off_10F7A0@PAGE                                   ; +0x8, 0x82e30\nLDR             X8, [X8,#off_10F7A0@PAGEOFF]; off_114000               ; +0xc, 0x82e34\nMOV             X19, X0                                                ; +0x10, 0x82e38\nLDR             X1, [X19]                                              ; +0x14, 0x82e3c\nADRP            X2, #aSrcFmodProfile_0@PAGE; \"../../src/fmod_profile_client.cpp\" ; +0x18, 0x82e40\nLDR             X8, [X8]; qword_11F800                                 ; +0x1c, 0x82e44\nADD             X2, X2, #aSrcFmodProfile_0@PAGEOFF; \"../../src/fmod_profile_client.cpp\" ; +0x20, 0x82e48\nMOV             W3, #0x172                                             ; +0x24, 0x82e4c\nMOV             W4, #1                                                 ; +0x28, 0x82e50\nLDR             X0, [X8,#(qword_11F9B0 - 0x11F800)]                    ; +0x2c, 0x82e54\nADD             X29, SP, #0x10                                         ; +0x30, 0x82e58\nBL              sub_E2D74                                              ; +0x34, 0x82e5c\nLDR             X0, [X19,#0x20]                                        ; +0x38, 0x82e60\nMOV             W1, WZR                                                ; +0x3c, 0x82e64\nBL              .FMOD_OS_CriticalSection_Free                          ; +0x40, 0x82e68\nCBNZ            W0, loc_82E7C                                          ; +0x44, 0x82e6c\nLDR             X0, [X19,#0x28]                                        ; +0x48, 0x82e70\nBL              sub_E7174                                              ; +0x4c, 0x82e74\nCBZ             W0, loc_82E84                                          ; +0x50, 0x82e78\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x54, 0x82e7c\nB               loc_83A68                                              ; +0x58, 0x82e80\nLDR             X0, [X19,#0x30]                                        ; +0x5c, 0x82e84\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x60, 0x82e88\nLDR             X19, [SP+0x10+var_10],#0x20                            ; +0x64, 0x82e8c\nB               sub_E7174                                              ; +0x68, 0x82e90", "xrefs": ["sub_83108 @ 0x8314c", "sub_83108 @ 0x83158"], "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"}