{"type": "func", "start": 7121868, "end": 7122016, "name": "FMODAudioEngine::updateSystemPitch", "pseudocode": "// \n// FMODAudioEngine::updateSystemPitch from 0x6cabcc to 0x6cac60 (148 bytes)\n// \n// 3 xrefs:\n// > GJBaseGameLayer::applyTimeWarp @ 0x9988d8\n// > GJBaseGameLayer::applyTimeWarp @ 0x998910\n// > <???> @ 0xfc7c0\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:51:23 +0000\n// \n\n__int64 __fastcall FMODAudioEngine::updateSystemPitch(FMODAudioEngine *this, float a2)\n{\n  FMOD::ChannelControl *v3; // x0\n  float v6; // [xsp+34h] [xbp+34h] BYREF\n\n  v3 = *((FMOD::ChannelControl **)this + 60);\n  v6 = 1.0;\n  FMOD::ChannelControl::getPitch(v3, &v6);\n  if ( a2 != v6 )\n  {\n    FMOD::ChannelControl::setPitch(*((FMOD::ChannelControl **)this + 60), a2);\n    FMOD::ChannelControl::setPitch(*((FMOD::ChannelControl **)this + 64), a2);\n    FMOD::ChannelControl::setPitch(*((FMOD::ChannelControl **)this + 65), a2);\n  }\n  return _stack_chk_guard;\n}", "assembly": "; \n; FMODAudioEngine::updateSystemPitch from 0x6cabcc to 0x6cac60 (148 bytes)\n; \n; 3 xrefs:\n; > GJBaseGameLayer::applyTimeWarp @ 0x9988d8\n; > GJBaseGameLayer::applyTimeWarp @ 0x998910\n; > <???> @ 0xfc7c0\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:51:23 +0000\n; \nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0x6cabcc\nFMOV            S1, #1.0                                               ; +0x4, 0x6cabd0\nMOV             X29, SP                                                ; +0x8, 0x6cabd4\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0xc, 0x6cabd8\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0x10, 0x6cabdc\nMOV             X20, X0                                                ; +0x14, 0x6cabe0\nSTR             D8, [SP,#0x40+var_20]                                  ; +0x18, 0x6cabe4\nLDR             X0, [X0,#0x1E0]; this                                  ; +0x1c, 0x6cabe8\nFMOV            S8, S0                                                 ; +0x20, 0x6cabec\nADD             X1, X29, #0x40+arg_0                                   ; +0x24, 0x6cabf0\nLDR             X2, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x28, 0x6cabf4\nSTR             S1, [X1,#-0xC]!; float *                               ; +0x2c, 0x6cabf8\nLDR             X2, [X2]                                               ; +0x30, 0x6cabfc\nSTR             X2, [X29,#0x40+var_8]                                  ; +0x34, 0x6cac00\nBL              ._ZN4FMOD14ChannelControl8getPitchEPf; FMOD::ChannelControl::getPitch(float *) ; +0x38, 0x6cac04\nLDR             S0, [X29,#0x40+var_C]                                  ; +0x3c, 0x6cac08\nFCMP            S8, S0                                                 ; +0x40, 0x6cac0c\nB.EQ            loc_6CAC38                                             ; +0x44, 0x6cac10\nFMOV            S0, S8; float                                          ; +0x48, 0x6cac14\nLDR             X0, [X20,#0x1E0]; this                                 ; +0x4c, 0x6cac18\nBL              ._ZN4FMOD14ChannelControl8setPitchEf; FMOD::ChannelControl::setPitch(float) ; +0x50, 0x6cac1c\nFMOV            S0, S8; float                                          ; +0x54, 0x6cac20\nLDR             X0, [X20,#0x200]; this                                 ; +0x58, 0x6cac24\nBL              ._ZN4FMOD14ChannelControl8setPitchEf; FMOD::ChannelControl::setPitch(float) ; +0x5c, 0x6cac28\nFMOV            S0, S8; float                                          ; +0x60, 0x6cac2c\nLDR             X0, [X20,#0x208]; this                                 ; +0x64, 0x6cac30\nBL              ._ZN4FMOD14ChannelControl8setPitchEf; FMOD::ChannelControl::setPitch(float) ; +0x68, 0x6cac34\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x6c, 0x6cac38\nLDR             X1, [X29,#0x40+var_8]                                  ; +0x70, 0x6cac3c\nLDR             X0, [X19]                                              ; +0x74, 0x6cac40\nCMP             X1, X0                                                 ; +0x78, 0x6cac44\nB.NE            loc_6CAC5C                                             ; +0x7c, 0x6cac48\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x80, 0x6cac4c\nLDR             D8, [SP,#0x40+var_20]                                  ; +0x84, 0x6cac50\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x88, 0x6cac54\nRET                                                                    ; +0x8c, 0x6cac58\nBL              .__stack_chk_fail                                      ; +0x90, 0x6cac5c", "xrefs": ["GJBaseGameLayer::applyTimeWarp @ 0x9988d8", "GJBaseGameLayer::applyTimeWarp @ 0x998910", "<???> @ 0xfc7c0"], "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"}