{"type": "func", "start": 5369065024, "end": 5369065256, "name": "FMODAudioEngine::playEffect", "pseudocode": "// \n// FMODAudioEngine::playEffect from 0x140056e40 to 0x140056f28 (232 bytes)\n// \n// 30 xrefs:\n// > AchievementNotifier::showNextAchievement @ 0x14003adb0\n// > CCMenuItemSpriteExtra::activate @ 0x140044e9d\n// > CCMenuItemSpriteExtra::selected @ 0x140044f9d\n// > FMODAudioEngine::playEffect_1 @ 0x140056e05\n// > EditLevelLayer::onPlay @ 0x1400d7fbc\n// > EndLevelLayer::onReplay @ 0x140134fe9\n// > EndLevelLayer::onMenu @ 0x1401351f5\n// > EndLevelLayer::onRestartCheckpoint @ 0x140135629\n// > GauntletSelectLayer::playUnlockAnimation @ 0x1401fb296\n// > GJPathPage::playUnlockAnimation @ 0x140287e7c\n// > GJShopLayer::dialogClosed @ 0x1402ae6ee\n// > AnimatedShopKeeper::playReactAnimation @ 0x1402afd7b\n// > LevelAreaInnerLayer::onDoor @ 0x1402c82ac\n// > LevelInfoLayer::onPlay @ 0x1402fcc50\n// > LevelPage::onPlay @ 0x14031dbaf\n// > MenuGameLayer::destroyPlayer @ 0x140333460\n// > PauseLayer::onQuit @ 0x14037ecf7\n// > PlayLayer::destroyPlayer @ 0x1403b40df\n// > RetryLevelLayer::onMenu @ 0x1403cbf9a\n// > SecretLayer::onSubmit @ 0x1403de519\n// > SecretLayer5::animateHead @ 0x1403f5474\n// > SecretLayer5::showFailAnimation @ 0x1403f5b10\n// > SecretLayer5::showFailAnimation @ 0x1403f5bca\n// > SecretLayer5::showSuccessAnimation @ 0x1403f6390\n// > SecretLayer5::showSuccessAnimation @ 0x1403f6429\n// > SecretLayer5::showSuccessAnimation @ 0x1403f64b6\n// > SecretLayer5::showSuccessAnimation @ 0x1403f6543\n// > SecretLayer5::playWinSFX @ 0x1403f67f2\n// > SecretLayer5::onSubmit @ 0x1403f6e37\n// > <???> @ 0x1406c50e8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 __fastcall FMODAudioEngine::playEffect(int a1, __int64 a2, __int64 a3, __int64 a4, int a5)\n{\n  int v7; // eax\n  int v8; // r8d\n  int v9; // r9d\n  unsigned int v10; // ebx\n  _QWORD v12[5]; // [rsp+A8h] [rbp-70h] BYREF\n\n  v12[4] = a2;\n  v7 = sub_14003BDB0((__int64)v12, a2);\n  v10 = FMODAudioEngine::playEffectAdvanced(a1, v7, v8, v9, a5, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0);\n  sub_14003A830(a2);\n  return v10;\n}", "assembly": "; \n; FMODAudioEngine::playEffect from 0x140056e40 to 0x140056f28 (232 bytes)\n; \n; 30 xrefs:\n; > AchievementNotifier::showNextAchievement @ 0x14003adb0\n; > CCMenuItemSpriteExtra::activate @ 0x140044e9d\n; > CCMenuItemSpriteExtra::selected @ 0x140044f9d\n; > FMODAudioEngine::playEffect_1 @ 0x140056e05\n; > EditLevelLayer::onPlay @ 0x1400d7fbc\n; > EndLevelLayer::onReplay @ 0x140134fe9\n; > EndLevelLayer::onMenu @ 0x1401351f5\n; > EndLevelLayer::onRestartCheckpoint @ 0x140135629\n; > GauntletSelectLayer::playUnlockAnimation @ 0x1401fb296\n; > GJPathPage::playUnlockAnimation @ 0x140287e7c\n; > GJShopLayer::dialogClosed @ 0x1402ae6ee\n; > AnimatedShopKeeper::playReactAnimation @ 0x1402afd7b\n; > LevelAreaInnerLayer::onDoor @ 0x1402c82ac\n; > LevelInfoLayer::onPlay @ 0x1402fcc50\n; > LevelPage::onPlay @ 0x14031dbaf\n; > MenuGameLayer::destroyPlayer @ 0x140333460\n; > PauseLayer::onQuit @ 0x14037ecf7\n; > PlayLayer::destroyPlayer @ 0x1403b40df\n; > RetryLevelLayer::onMenu @ 0x1403cbf9a\n; > SecretLayer::onSubmit @ 0x1403de519\n; > SecretLayer5::animateHead @ 0x1403f5474\n; > SecretLayer5::showFailAnimation @ 0x1403f5b10\n; > SecretLayer5::showFailAnimation @ 0x1403f5bca\n; > SecretLayer5::showSuccessAnimation @ 0x1403f6390\n; > SecretLayer5::showSuccessAnimation @ 0x1403f6429\n; > SecretLayer5::showSuccessAnimation @ 0x1403f64b6\n; > SecretLayer5::showSuccessAnimation @ 0x1403f6543\n; > SecretLayer5::playWinSFX @ 0x1403f67f2\n; > SecretLayer5::onSubmit @ 0x1403f6e37\n; > <???> @ 0x1406c50e8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     r11, rsp                                                       ; +0x0, 0x140056e40\npush    rbx                                                            ; +0x3, 0x140056e43\npush    rdi                                                            ; +0x4, 0x140056e44\nsub     rsp, 108h                                                      ; +0x5, 0x140056e45\nmovaps  xmmword ptr [r11-28h], xmm6                                    ; +0xc, 0x140056e4c\nmovaps  xmmword ptr [r11-38h], xmm7                                    ; +0x11, 0x140056e51\nmov     rax, cs:__security_cookie                                      ; +0x16, 0x140056e56\nxor     rax, rsp                                                       ; +0x1d, 0x140056e5d\nmov     [rsp+118h+var_48], rax                                         ; +0x20, 0x140056e60\nmovaps  xmm7, xmm3                                                     ; +0x28, 0x140056e68\nmovaps  xmm6, xmm2                                                     ; +0x2b, 0x140056e6b\nmov     rdi, rdx                                                       ; +0x2e, 0x140056e6e\nmov     rbx, rcx                                                       ; +0x31, 0x140056e71\nmov     [r11-50h], rdx                                                 ; +0x34, 0x140056e74\nlea     rcx, [r11-70h]                                                 ; +0x38, 0x140056e78\ncall    sub_14003BDB0                                                  ; +0x3c, 0x140056e7c\nxor     ecx, ecx                                                       ; +0x41, 0x140056e81\nmov     [rsp+118h+var_80], ecx                                         ; +0x43, 0x140056e83\nxorps   xmm0, xmm0                                                     ; +0x4a, 0x140056e8a\nmovss   [rsp+118h+var_88], xmm0                                        ; +0x4d, 0x140056e8d\nmov     [rsp+118h+var_90], ecx                                         ; +0x56, 0x140056e96\nmov     [rsp+118h+var_98], ecx                                         ; +0x5d, 0x140056e9d\nmov     [rsp+118h+var_A0], cl                                          ; +0x64, 0x140056ea4\nmov     [rsp+118h+var_A8], cl                                          ; +0x68, 0x140056ea8\nmov     [rsp+118h+var_B0], ecx                                         ; +0x6c, 0x140056eac\nmov     [rsp+118h+var_B8], cl                                          ; +0x70, 0x140056eb0\nmov     [rsp+118h+var_C0], ecx                                         ; +0x74, 0x140056eb4\nmov     [rsp+118h+var_C8], ecx                                         ; +0x78, 0x140056eb8\nmov     [rsp+118h+var_D0], ecx                                         ; +0x7c, 0x140056ebc\nmov     [rsp+118h+var_D8], ecx                                         ; +0x80, 0x140056ec0\nmov     [rsp+118h+var_E0], cl                                          ; +0x84, 0x140056ec4\nmov     [rsp+118h+var_E8], cl                                          ; +0x88, 0x140056ec8\nmovss   [rsp+118h+var_F0], xmm0                                        ; +0x8c, 0x140056ecc\nmovss   xmm0, [rsp+118h+arg_20]                                        ; +0x92, 0x140056ed2\nmovss   [rsp+118h+var_F8], xmm0                                        ; +0x9b, 0x140056edb\nmovaps  xmm3, xmm7                                                     ; +0xa1, 0x140056ee1\nmovaps  xmm2, xmm6                                                     ; +0xa4, 0x140056ee4\nmov     rdx, rax                                                       ; +0xa7, 0x140056ee7\nmov     rcx, rbx                                                       ; +0xaa, 0x140056eea\ncall    FMODAudioEngine__playEffectAdvanced                            ; +0xad, 0x140056eed\nmov     ebx, eax                                                       ; +0xb2, 0x140056ef2\nmov     rcx, rdi                                                       ; +0xb4, 0x140056ef4\ncall    sub_14003A830                                                  ; +0xb7, 0x140056ef7\nmov     eax, ebx                                                       ; +0xbc, 0x140056efc\nmov     rcx, [rsp+118h+var_48]                                         ; +0xbe, 0x140056efe\nxor     rcx, rsp; StackCookie                                          ; +0xc6, 0x140056f06\ncall    __security_check_cookie                                        ; +0xc9, 0x140056f09\nmovaps  xmm6, [rsp+118h+var_28]                                        ; +0xce, 0x140056f0e\nmovaps  xmm7, [rsp+118h+var_38]                                        ; +0xd6, 0x140056f16\nadd     rsp, 108h                                                      ; +0xde, 0x140056f1e\npop     rdi                                                            ; +0xe5, 0x140056f25\npop     rbx                                                            ; +0xe6, 0x140056f26\nretn                                                                   ; +0xe7, 0x140056f27", "xrefs": ["AchievementNotifier::showNextAchievement @ 0x14003adb0", "CCMenuItemSpriteExtra::activate @ 0x140044e9d", "CCMenuItemSpriteExtra::selected @ 0x140044f9d", "FMODAudioEngine::playEffect_1 @ 0x140056e05", "EditLevelLayer::onPlay @ 0x1400d7fbc", "EndLevelLayer::onReplay @ 0x140134fe9", "EndLevelLayer::onMenu @ 0x1401351f5", "EndLevelLayer::onRestartCheckpoint @ 0x140135629", "GauntletSelectLayer::playUnlockAnimation @ 0x1401fb296", "GJPathPage::playUnlockAnimation @ 0x140287e7c", "GJShopLayer::dialogClosed @ 0x1402ae6ee", "AnimatedShopKeeper::playReactAnimation @ 0x1402afd7b", "LevelAreaInnerLayer::onDoor @ 0x1402c82ac", "LevelInfoLayer::onPlay @ 0x1402fcc50", "LevelPage::onPlay @ 0x14031dbaf", "MenuGameLayer::destroyPlayer @ 0x140333460", "PauseLayer::onQuit @ 0x14037ecf7", "PlayLayer::destroyPlayer @ 0x1403b40df", "RetryLevelLayer::onMenu @ 0x1403cbf9a", "SecretLayer::onSubmit @ 0x1403de519", "SecretLayer5::animateHead @ 0x1403f5474", "SecretLayer5::showFailAnimation @ 0x1403f5b10", "SecretLayer5::showFailAnimation @ 0x1403f5bca", "SecretLayer5::showSuccessAnimation @ 0x1403f6390", "SecretLayer5::showSuccessAnimation @ 0x1403f6429", "SecretLayer5::showSuccessAnimation @ 0x1403f64b6", "SecretLayer5::showSuccessAnimation @ 0x1403f6543", "SecretLayer5::playWinSFX @ 0x1403f67f2", "SecretLayer5::onSubmit @ 0x1403f6e37", "<???> @ 0x1406c50e8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}