{"type": "func", "start": 536840, "end": 536980, "name": "sub_83108", "pseudocode": "// \n// sub_83108 from 0x83108 to 0x83194 (140 bytes)\n// \n// 2 xrefs:\n// > sub_63714 @ 0x63780\n// > sub_63AAC @ 0x63d4c\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_83108(_QWORD *a1)\n{\n  __int64 result; // x0\n\n  result = sub_83194(a1);\n  if ( !(_DWORD)result )\n  {\n    result = sub_E4458(a1 + 6);\n    if ( !(_DWORD)result )\n    {\n      result = sub_E4458(a1 + 48);\n      if ( !(_DWORD)result )\n      {\n        result = FMOD_OS_CriticalSection_Free(a1[5], 0);\n        if ( !(_DWORD)result )\n        {\n          result = sub_82E28(a1 + 155);\n          if ( !(_DWORD)result )\n          {\n            result = sub_82E28(a1 + 164);\n            if ( !(_DWORD)result )\n            {\n              sub_E2D74(\n                *(__int64 *)((char *)&qword_1B0 + (_QWORD)off_114000),\n                a1,\n                \"../../src/fmod_profile_client.cpp\",\n                456,\n                1);\n              return 0;\n            }\n          }\n        }\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_83108 from 0x83108 to 0x83194 (140 bytes)\n; \n; 2 xrefs:\n; > sub_63714 @ 0x63780\n; > sub_63AAC @ 0x63d4c\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, 0x83108\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x8310c\nADD             X29, SP, #0x10                                         ; +0x8, 0x83110\nMOV             X19, X0                                                ; +0xc, 0x83114\nBL              sub_83194                                              ; +0x10, 0x83118\nCBNZ            W0, loc_8318C                                          ; +0x14, 0x8311c\nADD             X0, X19, #0x30 ; '0'                                   ; +0x18, 0x83120\nBL              sub_E4458                                              ; +0x1c, 0x83124\nCBNZ            W0, loc_8318C                                          ; +0x20, 0x83128\nADD             X0, X19, #0x180                                        ; +0x24, 0x8312c\nBL              sub_E4458                                              ; +0x28, 0x83130\nCBNZ            W0, loc_8318C                                          ; +0x2c, 0x83134\nLDR             X0, [X19,#0x28]                                        ; +0x30, 0x83138\nMOV             W1, WZR                                                ; +0x34, 0x8313c\nBL              .FMOD_OS_CriticalSection_Free                          ; +0x38, 0x83140\nCBNZ            W0, loc_8318C                                          ; +0x3c, 0x83144\nADD             X0, X19, #0x4D8                                        ; +0x40, 0x83148\nBL              sub_82E28                                              ; +0x44, 0x8314c\nCBNZ            W0, loc_8318C                                          ; +0x48, 0x83150\nADD             X0, X19, #0x520                                        ; +0x4c, 0x83154\nBL              sub_82E28                                              ; +0x50, 0x83158\nCBNZ            W0, loc_8318C                                          ; +0x54, 0x8315c\nADRP            X8, #off_10F7A0@PAGE                                   ; +0x58, 0x83160\nLDR             X8, [X8,#off_10F7A0@PAGEOFF]; off_114000               ; +0x5c, 0x83164\nADRL            X2, aSrcFmodProfile_0; \"../../src/fmod_profile_client.cpp\" ; +0x60, 0x83168\nMOV             W3, #0x1C8                                             ; +0x68, 0x83170\nLDR             X8, [X8]; qword_11F800                                 ; +0x6c, 0x83174\nMOV             W4, #1                                                 ; +0x70, 0x83178\nMOV             X1, X19                                                ; +0x74, 0x8317c\nLDR             X0, [X8,#(qword_11F9B0 - 0x11F800)]                    ; +0x78, 0x83180\nBL              sub_E2D74                                              ; +0x7c, 0x83184\nMOV             W0, WZR                                                ; +0x80, 0x83188\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x84, 0x8318c\nB               loc_83A68                                              ; +0x88, 0x83190", "xrefs": ["sub_63714 @ 0x63780", "sub_63AAC @ 0x63d4c"], "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"}