{"type": "func", "start": 4096124, "end": 4096342, "name": "FMODAudioEngine::stopAndGetFade", "pseudocode": "// \n// FMODAudioEngine::stopAndGetFade from 0x3e807c to 0x3e8156 (218 bytes)\n// \n// 4 xrefs:\n// > FMODAudioEngine::fadeInMusic @ 0x3ef538\n// > FMODAudioEngine::fadeOutMusic @ 0x3ef5fa\n// > FMODAudioEngine::fadeMusic @ 0x3ef6c0\n// > FMODAudioEngine::stopChannel @ 0x3f0a4a\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:47:05 +0000\n// \n\nfloat __fastcall FMODAudioEngine::stopAndGetFade(FMODAudioEngine *this, FMOD::Channel *a2)\n{\n  if ( a2 )\n    *((_DWORD *)this + 97) = FMOD_Channel_GetFadePoints();\n  return 1.0;\n}", "assembly": "; \n; FMODAudioEngine::stopAndGetFade from 0x3e807c to 0x3e8156 (218 bytes)\n; \n; 4 xrefs:\n; > FMODAudioEngine::fadeInMusic @ 0x3ef538\n; > FMODAudioEngine::fadeOutMusic @ 0x3ef5fa\n; > FMODAudioEngine::fadeMusic @ 0x3ef6c0\n; > FMODAudioEngine::stopChannel @ 0x3f0a4a\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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 11:47:05 +0000\n; \nPUSH.W          {R4-R9,LR}                                             ; +0x0, 0x3e807c\nMOV             R9, R0                                                 ; +0x4, 0x3e8080\nVPUSH           {D8}                                                   ; +0x6, 0x3e8082\nMOV             R4, R1                                                 ; +0xa, 0x3e8086\nLDR             R3, =(__stack_chk_guard_ptr - 0x3E808E)                ; +0xc, 0x3e8088\nADD             R3, PC; __stack_chk_guard_ptr                          ; +0xe, 0x3e808a\nLDR             R3, [R3]; __stack_chk_guard                            ; +0x10, 0x3e808c\nSUB             SP, SP, #0x3C                                          ; +0x12, 0x3e808e\nLDR             R2, [R3]                                               ; +0x14, 0x3e8090\nMOV             R8, R3                                                 ; +0x16, 0x3e8092\nSTR             R2, [SP,#0x3C+var_8]                                   ; +0x18, 0x3e8094\nCMP             R1, #0                                                 ; +0x1a, 0x3e8096\nBEQ             loc_3E8136                                             ; +0x1c, 0x3e8098\nADD             R6, SP, #0x3C+var_4                                    ; +0x1e, 0x3e809a\nMOVS            R5, #0                                                 ; +0x20, 0x3e809c\nMOV             R0, R1                                                 ; +0x22, 0x3e809e\nMOV             R3, R5                                                 ; +0x24, 0x3e80a0\nSTR.W           R5, [R6,#-0x2C]!                                       ; +0x26, 0x3e80a2\nMOV             R2, R5                                                 ; +0x2a, 0x3e80a6\nMOV             R1, R6                                                 ; +0x2c, 0x3e80a8\nBLX             FMOD_Channel_GetFadePoints                             ; +0x2e, 0x3e80aa\nLDR             R3, [SP,#0x3C+var_30]                                  ; +0x32, 0x3e80ae\nSTR.W           R0, [R9,#0x184]                                        ; +0x34, 0x3e80b0\nCMP             R3, #0                                                 ; +0x38, 0x3e80b4\nBEQ             loc_3E8136                                             ; +0x3a, 0x3e80b6\nADD             R7, SP, #0x3C+var_2C                                   ; +0x3c, 0x3e80b8\nMOV             R1, R5                                                 ; +0x3e, 0x3e80ba\nMOV             R0, R4                                                 ; +0x40, 0x3e80bc\nMOV             R2, R7                                                 ; +0x42, 0x3e80be\nBLX             FMOD_Channel_GetDSPClock                               ; +0x44, 0x3e80c0\nMOV             R1, R5; unsigned __int64 *                             ; +0x48, 0x3e80c4\nMOV             R0, R4; this                                           ; +0x4a, 0x3e80c6\nMOV             R2, R7; unsigned __int64 *                             ; +0x4c, 0x3e80c8\nBLX             _ZN4FMOD14ChannelControl11getDSPClockEPyS1_; FMOD::ChannelControl::getDSPClock(ulong long *,ulong long *) ; +0x4e, 0x3e80ca\nMOV             R1, R6                                                 ; +0x52, 0x3e80ce\nADD             R2, SP, #0x3C+var_1C                                   ; +0x54, 0x3e80d0\nADD             R3, SP, #0x3C+var_24                                   ; +0x56, 0x3e80d2\nSTR.W           R0, [R9,#0x184]                                        ; +0x58, 0x3e80d4\nMOV             R0, R4                                                 ; +0x5c, 0x3e80d8\nBLX             FMOD_Channel_GetFadePoints                             ; +0x5e, 0x3e80da\nLDRD.W          R2, R3, [SP,#0x3C+var_14]                              ; +0x62, 0x3e80de\nSTRD.W          R2, R3, [SP,#0x3C+var_3C]                              ; +0x66, 0x3e80e2\nLDRD.W          R2, R3, [SP,#0x3C+var_1C]                              ; +0x6a, 0x3e80e6\nSTR.W           R0, [R9,#0x184]                                        ; +0x6e, 0x3e80ea\nMOV             R0, R4                                                 ; +0x72, 0x3e80ee\nBLX             FMOD_Channel_RemoveFadePoints                          ; +0x74, 0x3e80f0\nLDRD.W          R4, R5, [SP,#0x3C+var_1C]                              ; +0x78, 0x3e80f4\nLDRD.W          R0, R1, [SP,#0x3C+var_14]                              ; +0x7c, 0x3e80f8\nVLDR            S16, [SP,#0x3C+var_24]                                 ; +0x80, 0x3e80fc\nSUBS            R0, R0, R4                                             ; +0x84, 0x3e8100\nSBC.W           R1, R1, R5                                             ; +0x86, 0x3e8102\nBLX             __aeabi_ul2f                                           ; +0x8a, 0x3e8106\nVLDR            S17, [SP,#0x3C+var_20]                                 ; +0x8e, 0x3e810a\nVSUB.F32        S17, S17, S16                                          ; +0x92, 0x3e810e\nVMOV            S15, R0                                                ; +0x96, 0x3e8112\nLDRD.W          R0, R1, [SP,#0x3C+var_2C]                              ; +0x9a, 0x3e8116\nVDIV.F32        S17, S17, S15                                          ; +0x9e, 0x3e811a\nSUBS            R0, R0, R4                                             ; +0xa2, 0x3e811e\nSBC.W           R1, R1, R5                                             ; +0xa4, 0x3e8120\nBLX             __aeabi_ul2f                                           ; +0xa8, 0x3e8124\nVMOV            S14, R0                                                ; +0xac, 0x3e8128\nVMOV.F32        S15, S16                                               ; +0xb0, 0x3e812c\nVMLA.F32        S15, S17, S14                                          ; +0xb4, 0x3e8130\nB               loc_3E813A                                             ; +0xb8, 0x3e8134\nVMOV.F32        S15, #1.0                                              ; +0xba, 0x3e8136\nLDR             R2, [SP,#0x3C+var_8]                                   ; +0xbe, 0x3e813a\nLDR.W           R3, [R8]                                               ; +0xc0, 0x3e813c\nVMOV            R0, S15                                                ; +0xc4, 0x3e8140\nCMP             R2, R3                                                 ; +0xc8, 0x3e8144\nBEQ             loc_3E814C                                             ; +0xca, 0x3e8146\nBLX             __stack_chk_fail                                       ; +0xcc, 0x3e8148\nADD             SP, SP, #0x3C ; '<'                                    ; +0xd0, 0x3e814c\nVPOP            {D8}                                                   ; +0xd2, 0x3e814e\nPOP.W           {R4-R9,PC}                                             ; +0xd6, 0x3e8152", "xrefs": ["FMODAudioEngine::fadeInMusic @ 0x3ef538", "FMODAudioEngine::fadeOutMusic @ 0x3ef5fa", "FMODAudioEngine::fadeMusic @ 0x3ef6c0", "FMODAudioEngine::stopChannel @ 0x3f0a4a"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}