{"type": "func", "start": 847708, "end": 847800, "name": "FMOD::Channel::setLoopCount", "pseudocode": "// \n// FMOD::Channel::setLoopCount from 0xcef5c to 0xcefb8 (92 bytes)\n// \n// 4 xrefs:\n// > FMOD::Channel::setLoopCount @ 0x10778c\n// > <???> @ 0x39e8\n// > FMOD::Channel::setLoopCount @ 0x107784\n// > <???> @ 0x110488\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:50 +0000\n// \n\n__int64 __fastcall FMOD::Channel::setLoopCount(FMOD::Channel *this, 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_5A8E8(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::setLoopCount from 0xcef5c to 0xcefb8 (92 bytes)\n; \n; 4 xrefs:\n; > FMOD::Channel::setLoopCount @ 0x10778c\n; > <???> @ 0x39e8\n; > FMOD::Channel::setLoopCount @ 0x107784\n; > <???> @ 0x110488\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:50 +0000\n; \nSUB             SP, SP, #0x140                                         ; +0x0, 0xcef5c\nSTP             X29, X30, [SP,#0x130+var_s0]                           ; +0x4, 0xcef60\nADD             X29, SP, #0x130                                        ; +0x8, 0xcef64\nSTP             X28, X21, [SP,#0x130+var_20]                           ; +0xc, 0xcef68\nMOV             W21, W1                                                ; +0x10, 0xcef6c\nBL              sub_CF374                                              ; +0x14, 0xcef70\nMOV             W20, W0                                                ; +0x18, 0xcef74\nCBNZ            W0, loc_CEF90                                          ; +0x1c, 0xcef78\nLDUR            X0, [X29,#var_28]                                      ; +0x20, 0xcef7c\nMOV             W1, W21                                                ; +0x24, 0xcef80\nBL              sub_5A8E8                                              ; +0x28, 0xcef84\nMOV             W20, W0                                                ; +0x2c, 0xcef88\nCBZ             W0, loc_CEFA8                                          ; +0x30, 0xcef8c\nBL              sub_CF32C                                              ; +0x34, 0xcef90\nTBZ             W8, #7, loc_CEFA8                                      ; +0x38, 0xcef94\nBL              sub_CF408                                              ; +0x3c, 0xcef98\nADRL            X3, aChannelSetloop; \"Channel::setLoopCount\"           ; +0x40, 0xcef9c\nBL              sub_CF340                                              ; +0x48, 0xcefa4\nBL              sub_CF3A8                                              ; +0x4c, 0xcefa8\nMOV             W0, W20                                                ; +0x50, 0xcefac\nLDP             X29, X30, [SP,#0x130+var_s0]                           ; +0x54, 0xcefb0\nB               loc_CF364                                              ; +0x58, 0xcefb4", "xrefs": ["FMOD::Channel::setLoopCount @ 0x10778c", "<???> @ 0x39e8", "FMOD::Channel::setLoopCount @ 0x107784", "<???> @ 0x110488"], "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"}