{"type": "func", "start": 410296, "end": 410308, "name": "sub_642B8", "pseudocode": "// \n// sub_642B8 from 0x642b8 to 0x642c4 (12 bytes)\n// \n// 2 xrefs:\n// > sub_63864 @ 0x63908\n// > sub_63AAC @ 0x63b38\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:54 +0000\n// \n\n__int64 __fastcall sub_642B8(__int64 a1, __int64 a2)\n{\n  __int64 v2; // x19\n  __int64 v3; // x20\n  __int64 result; // x0\n\n  *(_QWORD *)(v3 + 24) = v2;\n  *(_QWORD *)(v3 + 32) = a2;\n  result = sub_828B4(v3 + 1240, 0x20000, 1);\n  if ( !(_DWORD)result )\n  {\n    result = sub_828B4(v3 + 1312, 0x20000, 4);\n    if ( !(_DWORD)result )\n    {\n      result = FMOD_OS_CriticalSection_Create(v3 + 40, 0);\n      if ( !(_DWORD)result )\n      {\n        result = sub_82FC0(v3, 0, 0, 0xFFFFFFFFLL);\n        if ( !(_DWORD)result )\n        {\n          result = sub_839CC(v3 + 48, \"FMOD profiler thread (recv)\", sub_830B0);\n          if ( !(_DWORD)result )\n            return sub_839CC(v3 + 384, \"FMOD profiler thread (send)\", sub_830DC);\n        }\n      }\n    }\n  }\n  return result;\n}", "assembly": "; \n; sub_642B8 from 0x642b8 to 0x642c4 (12 bytes)\n; \n; 2 xrefs:\n; > sub_63864 @ 0x63908\n; > sub_63AAC @ 0x63b38\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:54 +0000\n; \nMOV             X0, X20                                                ; +0x0, 0x642b8\nMOV             X2, X19                                                ; +0x4, 0x642bc\nB               loc_82F18                                              ; +0x8, 0x642c0", "xrefs": ["sub_63864 @ 0x63908", "sub_63AAC @ 0x63b38"], "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"}