{"type": "func", "start": 846328, "end": 846424, "name": "FMOD::Channel::getPriority", "pseudocode": "// \n// FMOD::Channel::getPriority from 0xce9f8 to 0xcea58 (96 bytes)\n// \n// 4 xrefs:\n// > FMOD::Channel::getPriority @ 0x10773c\n// > <???> @ 0x40f0\n// > FMOD::Channel::getPriority @ 0x107734\n// > <???> @ 0x110460\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:49 +0000\n// \n\n__int64 __fastcall FMOD::Channel::getPriority(FMOD::Channel *this, int *a2)\n{\n  _DWORD *v2; // x21\n  __int64 v3; // x30\n  __int64 v4; // x0\n  __int64 v5; // x1\n  unsigned int v6; // w20\n  __int64 v7; // x0\n  _DWORD *v8; // x1\n  __int64 v9; // x0\n  char v10; // w8\n  __int64 v11; // x0\n\n  v4 = sub_CF418(this, a2, v3);\n  if ( v5 )\n    *v2 = 0;\n  v6 = sub_CF38C(v4);\n  if ( v6 || (v7 = sub_CF3D0(), v9 = sub_5BB60(v7, v8), (v6 = v9) != 0) )\n  {\n    v9 = sub_CF32C();\n    if ( v10 < 0 )\n    {\n      v11 = sub_CF3C0(v9);\n      v9 = sub_CF340(v11);\n    }\n  }\n  sub_CF3A8(v9);\n  return v6;\n}", "assembly": "; \n; FMOD::Channel::getPriority from 0xce9f8 to 0xcea58 (96 bytes)\n; \n; 4 xrefs:\n; > FMOD::Channel::getPriority @ 0x10773c\n; > <???> @ 0x40f0\n; > FMOD::Channel::getPriority @ 0x107734\n; > <???> @ 0x110460\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:49 +0000\n; \nMOV             X2, X30                                                ; +0x0, 0xce9f8\nBL              sub_CF418                                              ; +0x4, 0xce9fc\nMOV             X30, X2                                                ; +0x8, 0xcea00\nSTP             X29, X30, [SP,#arg_130]                                ; +0xc, 0xcea04\nADD             X29, SP, #arg_130                                      ; +0x10, 0xcea08\nCBZ             X1, loc_CEA14                                          ; +0x14, 0xcea0c\nSTR             WZR, [X21]                                             ; +0x18, 0xcea10\nBL              sub_CF38C                                              ; +0x1c, 0xcea14\nMOV             W20, W0                                                ; +0x20, 0xcea18\nCBNZ            W0, loc_CEA30                                          ; +0x24, 0xcea1c\nBL              sub_CF3D0                                              ; +0x28, 0xcea20\nBL              sub_5BB60                                              ; +0x2c, 0xcea24\nMOV             W20, W0                                                ; +0x30, 0xcea28\nCBZ             W0, loc_CEA48                                          ; +0x34, 0xcea2c\nBL              sub_CF32C                                              ; +0x38, 0xcea30\nTBZ             W8, #7, loc_CEA48                                      ; +0x3c, 0xcea34\nBL              sub_CF3C0                                              ; +0x40, 0xcea38\nADRL            X3, aChannelGetprio; \"Channel::getPriority\"            ; +0x44, 0xcea3c\nBL              sub_CF340                                              ; +0x4c, 0xcea44\nBL              sub_CF3A8                                              ; +0x50, 0xcea48\nMOV             W0, W20                                                ; +0x54, 0xcea4c\nLDP             X29, X30, [SP,#arg_130]                                ; +0x58, 0xcea50\nB               loc_CF364                                              ; +0x5c, 0xcea54", "xrefs": ["FMOD::Channel::getPriority @ 0x10773c", "<???> @ 0x40f0", "FMOD::Channel::getPriority @ 0x107734", "<???> @ 0x110460"], "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"}