{"type": "func", "start": 846236, "end": 846328, "name": "FMOD::Channel::setPriority", "pseudocode": "// \n// FMOD::Channel::setPriority from 0xce99c to 0xce9f8 (92 bytes)\n// \n// 4 xrefs:\n// > FMOD::Channel::setPriority @ 0x10772c\n// > <???> @ 0x3a48\n// > FMOD::Channel::setPriority @ 0x107724\n// > <???> @ 0x110458\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::setPriority(FMOD::Channel *this, unsigned int a2)\n{\n  unsigned int v3; // w20\n  __int64 v4; // x0\n  char v5; // w8\n  __int64 v6; // x0\n  __int64 v8; // [xsp+108h] [xbp-28h]\n\n  v3 = sub_CF374(this);\n  if ( v3 || (v4 = sub_5BB4C(v8, a2), (v3 = v4) != 0) )\n  {\n    v4 = sub_CF32C();\n    if ( v5 < 0 )\n    {\n      v6 = sub_CF408(v4);\n      v4 = sub_CF340(v6);\n    }\n  }\n  sub_CF3A8(v4);\n  return v3;\n}", "assembly": "; \n; FMOD::Channel::setPriority from 0xce99c to 0xce9f8 (92 bytes)\n; \n; 4 xrefs:\n; > FMOD::Channel::setPriority @ 0x10772c\n; > <???> @ 0x3a48\n; > FMOD::Channel::setPriority @ 0x107724\n; > <???> @ 0x110458\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; \nSUB             SP, SP, #0x140                                         ; +0x0, 0xce99c\nSTP             X29, X30, [SP,#0x130+var_s0]                           ; +0x4, 0xce9a0\nADD             X29, SP, #0x130                                        ; +0x8, 0xce9a4\nSTP             X28, X21, [SP,#0x130+var_20]                           ; +0xc, 0xce9a8\nMOV             W21, W1                                                ; +0x10, 0xce9ac\nBL              sub_CF374                                              ; +0x14, 0xce9b0\nMOV             W20, W0                                                ; +0x18, 0xce9b4\nCBNZ            W0, loc_CE9D0                                          ; +0x1c, 0xce9b8\nLDUR            X0, [X29,#var_28]                                      ; +0x20, 0xce9bc\nMOV             W1, W21                                                ; +0x24, 0xce9c0\nBL              sub_5BB4C                                              ; +0x28, 0xce9c4\nMOV             W20, W0                                                ; +0x2c, 0xce9c8\nCBZ             W0, loc_CE9E8                                          ; +0x30, 0xce9cc\nBL              sub_CF32C                                              ; +0x34, 0xce9d0\nTBZ             W8, #7, loc_CE9E8                                      ; +0x38, 0xce9d4\nBL              sub_CF408                                              ; +0x3c, 0xce9d8\nADRL            X3, aChannelSetprio; \"Channel::setPriority\"            ; +0x40, 0xce9dc\nBL              sub_CF340                                              ; +0x48, 0xce9e4\nBL              sub_CF3A8                                              ; +0x4c, 0xce9e8\nMOV             W0, W20                                                ; +0x50, 0xce9ec\nLDP             X29, X30, [SP,#0x130+var_s0]                           ; +0x54, 0xce9f0\nB               loc_CF364                                              ; +0x58, 0xce9f4", "xrefs": ["FMOD::Channel::setPriority @ 0x10772c", "<???> @ 0x3a48", "FMOD::Channel::setPriority @ 0x107724", "<???> @ 0x110458"], "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"}