{"type": "func", "start": 5369100800, "end": 5369101032, "name": "FMODAudioEngine::playEffect", "pseudocode": "// \n// FMODAudioEngine::playEffect from 0x14005fa00 to 0x14005fae8 (232 bytes)\n// \n// 30 xrefs:\n// > AchievementNotifier::showNextAchievement @ 0x14003d80f\n// > CCMenuItemSpriteExtra::activate @ 0x140048b90\n// > CCMenuItemSpriteExtra::selected @ 0x140048c90\n// > FMODAudioEngine::playEffect_1 @ 0x14005f9c5\n// > EditLevelLayer::onPlay @ 0x14017b3d8\n// > EndLevelLayer::onReplay @ 0x14020631c\n// > EndLevelLayer::onMenu @ 0x14020652c\n// > EndLevelLayer::onRestartCheckpoint @ 0x14020698a\n// > GauntletSelectLayer::playUnlockAnimation @ 0x140300200\n// > GJPathPage::playUnlockAnimation @ 0x140395c00\n// > GJShopLayer::dialogClosed @ 0x1403b4a91\n// > AnimatedShopKeeper::playReactAnimation @ 0x1403b613e\n// > LevelAreaInnerLayer::onDoor @ 0x1403e15c9\n// > LevelInfoLayer::onPlay @ 0x140421e9b\n// > LevelPage::onPlay @ 0x140447093\n// > MenuGameLayer::destroyPlayer @ 0x140471786\n// > PauseLayer::onQuit @ 0x1404db897\n// > PlayLayer::destroyPlayer @ 0x140512f72\n// > RetryLevelLayer::onMenu @ 0x1405617ba\n// > SecretLayer::onSubmit @ 0x140574140\n// > SecretLayer5::animateHead @ 0x14058ab60\n// > SecretLayer5::showFailAnimation @ 0x14058b24f\n// > SecretLayer5::showFailAnimation @ 0x14058b341\n// > SecretLayer5::showSuccessAnimation @ 0x14058bb4c\n// > SecretLayer5::showSuccessAnimation @ 0x14058bc1b\n// > SecretLayer5::showSuccessAnimation @ 0x14058bce0\n// > SecretLayer5::showSuccessAnimation @ 0x14058bda3\n// > SecretLayer5::playWinSFX @ 0x14058c05b\n// > SecretLayer5::onSubmit @ 0x14058c72f\n// > <???> @ 0x140910a48\n// \n// This function is hookable on this platform (idp: pc, 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 11:25:43 +0000\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_14003F4F0((__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_14003D310(a2);\n  return v10;\n}", "assembly": "; \n; FMODAudioEngine::playEffect from 0x14005fa00 to 0x14005fae8 (232 bytes)\n; \n; 30 xrefs:\n; > AchievementNotifier::showNextAchievement @ 0x14003d80f\n; > CCMenuItemSpriteExtra::activate @ 0x140048b90\n; > CCMenuItemSpriteExtra::selected @ 0x140048c90\n; > FMODAudioEngine::playEffect_1 @ 0x14005f9c5\n; > EditLevelLayer::onPlay @ 0x14017b3d8\n; > EndLevelLayer::onReplay @ 0x14020631c\n; > EndLevelLayer::onMenu @ 0x14020652c\n; > EndLevelLayer::onRestartCheckpoint @ 0x14020698a\n; > GauntletSelectLayer::playUnlockAnimation @ 0x140300200\n; > GJPathPage::playUnlockAnimation @ 0x140395c00\n; > GJShopLayer::dialogClosed @ 0x1403b4a91\n; > AnimatedShopKeeper::playReactAnimation @ 0x1403b613e\n; > LevelAreaInnerLayer::onDoor @ 0x1403e15c9\n; > LevelInfoLayer::onPlay @ 0x140421e9b\n; > LevelPage::onPlay @ 0x140447093\n; > MenuGameLayer::destroyPlayer @ 0x140471786\n; > PauseLayer::onQuit @ 0x1404db897\n; > PlayLayer::destroyPlayer @ 0x140512f72\n; > RetryLevelLayer::onMenu @ 0x1405617ba\n; > SecretLayer::onSubmit @ 0x140574140\n; > SecretLayer5::animateHead @ 0x14058ab60\n; > SecretLayer5::showFailAnimation @ 0x14058b24f\n; > SecretLayer5::showFailAnimation @ 0x14058b341\n; > SecretLayer5::showSuccessAnimation @ 0x14058bb4c\n; > SecretLayer5::showSuccessAnimation @ 0x14058bc1b\n; > SecretLayer5::showSuccessAnimation @ 0x14058bce0\n; > SecretLayer5::showSuccessAnimation @ 0x14058bda3\n; > SecretLayer5::playWinSFX @ 0x14058c05b\n; > SecretLayer5::onSubmit @ 0x14058c72f\n; > <???> @ 0x140910a48\n; \n; This function is hookable on this platform (idp: pc, 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 11:25:43 +0000\n; \nmov     r11, rsp                                                       ; +0x0, 0x14005fa00\npush    rbx                                                            ; +0x3, 0x14005fa03\npush    rdi                                                            ; +0x4, 0x14005fa04\nsub     rsp, 108h                                                      ; +0x5, 0x14005fa05\nmovaps  xmmword ptr [r11-28h], xmm6                                    ; +0xc, 0x14005fa0c\nmovaps  xmmword ptr [r11-38h], xmm7                                    ; +0x11, 0x14005fa11\nmov     rax, cs:__security_cookie                                      ; +0x16, 0x14005fa16\nxor     rax, rsp                                                       ; +0x1d, 0x14005fa1d\nmov     [rsp+118h+var_48], rax                                         ; +0x20, 0x14005fa20\nmovaps  xmm7, xmm3                                                     ; +0x28, 0x14005fa28\nmovaps  xmm6, xmm2                                                     ; +0x2b, 0x14005fa2b\nmov     rdi, rdx                                                       ; +0x2e, 0x14005fa2e\nmov     rbx, rcx                                                       ; +0x31, 0x14005fa31\nmov     [r11-50h], rdx                                                 ; +0x34, 0x14005fa34\nlea     rcx, [r11-70h]                                                 ; +0x38, 0x14005fa38\ncall    sub_14003F4F0                                                  ; +0x3c, 0x14005fa3c\nxor     ecx, ecx                                                       ; +0x41, 0x14005fa41\nmov     [rsp+118h+var_80], ecx                                         ; +0x43, 0x14005fa43\nxorps   xmm0, xmm0                                                     ; +0x4a, 0x14005fa4a\nmovss   [rsp+118h+var_88], xmm0                                        ; +0x4d, 0x14005fa4d\nmov     [rsp+118h+var_90], ecx                                         ; +0x56, 0x14005fa56\nmov     [rsp+118h+var_98], ecx                                         ; +0x5d, 0x14005fa5d\nmov     [rsp+118h+var_A0], cl                                          ; +0x64, 0x14005fa64\nmov     [rsp+118h+var_A8], cl                                          ; +0x68, 0x14005fa68\nmov     [rsp+118h+var_B0], ecx                                         ; +0x6c, 0x14005fa6c\nmov     [rsp+118h+var_B8], cl                                          ; +0x70, 0x14005fa70\nmov     [rsp+118h+var_C0], ecx                                         ; +0x74, 0x14005fa74\nmov     [rsp+118h+var_C8], ecx                                         ; +0x78, 0x14005fa78\nmov     [rsp+118h+var_D0], ecx                                         ; +0x7c, 0x14005fa7c\nmov     [rsp+118h+var_D8], ecx                                         ; +0x80, 0x14005fa80\nmov     [rsp+118h+var_E0], cl                                          ; +0x84, 0x14005fa84\nmov     [rsp+118h+var_E8], cl                                          ; +0x88, 0x14005fa88\nmovss   [rsp+118h+var_F0], xmm0                                        ; +0x8c, 0x14005fa8c\nmovss   xmm0, [rsp+118h+arg_20]                                        ; +0x92, 0x14005fa92\nmovss   [rsp+118h+var_F8], xmm0                                        ; +0x9b, 0x14005fa9b\nmovaps  xmm3, xmm7                                                     ; +0xa1, 0x14005faa1\nmovaps  xmm2, xmm6                                                     ; +0xa4, 0x14005faa4\nmov     rdx, rax                                                       ; +0xa7, 0x14005faa7\nmov     rcx, rbx                                                       ; +0xaa, 0x14005faaa\ncall    FMODAudioEngine__playEffectAdvanced                            ; +0xad, 0x14005faad\nmov     ebx, eax                                                       ; +0xb2, 0x14005fab2\nmov     rcx, rdi                                                       ; +0xb4, 0x14005fab4\ncall    sub_14003D310                                                  ; +0xb7, 0x14005fab7\nmov     eax, ebx                                                       ; +0xbc, 0x14005fabc\nmov     rcx, [rsp+118h+var_48]                                         ; +0xbe, 0x14005fabe\nxor     rcx, rsp; StackCookie                                          ; +0xc6, 0x14005fac6\ncall    __security_check_cookie                                        ; +0xc9, 0x14005fac9\nmovaps  xmm6, [rsp+118h+var_28]                                        ; +0xce, 0x14005face\nmovaps  xmm7, [rsp+118h+var_38]                                        ; +0xd6, 0x14005fad6\nadd     rsp, 108h                                                      ; +0xde, 0x14005fade\npop     rdi                                                            ; +0xe5, 0x14005fae5\npop     rbx                                                            ; +0xe6, 0x14005fae6\nretn                                                                   ; +0xe7, 0x14005fae7", "xrefs": ["AchievementNotifier::showNextAchievement @ 0x14003d80f", "CCMenuItemSpriteExtra::activate @ 0x140048b90", "CCMenuItemSpriteExtra::selected @ 0x140048c90", "FMODAudioEngine::playEffect_1 @ 0x14005f9c5", "EditLevelLayer::onPlay @ 0x14017b3d8", "EndLevelLayer::onReplay @ 0x14020631c", "EndLevelLayer::onMenu @ 0x14020652c", "EndLevelLayer::onRestartCheckpoint @ 0x14020698a", "GauntletSelectLayer::playUnlockAnimation @ 0x140300200", "GJPathPage::playUnlockAnimation @ 0x140395c00", "GJShopLayer::dialogClosed @ 0x1403b4a91", "AnimatedShopKeeper::playReactAnimation @ 0x1403b613e", "LevelAreaInnerLayer::onDoor @ 0x1403e15c9", "LevelInfoLayer::onPlay @ 0x140421e9b", "LevelPage::onPlay @ 0x140447093", "MenuGameLayer::destroyPlayer @ 0x140471786", "PauseLayer::onQuit @ 0x1404db897", "PlayLayer::destroyPlayer @ 0x140512f72", "RetryLevelLayer::onMenu @ 0x1405617ba", "SecretLayer::onSubmit @ 0x140574140", "SecretLayer5::animateHead @ 0x14058ab60", "SecretLayer5::showFailAnimation @ 0x14058b24f", "SecretLayer5::showFailAnimation @ 0x14058b341", "SecretLayer5::showSuccessAnimation @ 0x14058bb4c", "SecretLayer5::showSuccessAnimation @ 0x14058bc1b", "SecretLayer5::showSuccessAnimation @ 0x14058bce0", "SecretLayer5::showSuccessAnimation @ 0x14058bda3", "SecretLayer5::playWinSFX @ 0x14058c05b", "SecretLayer5::onSubmit @ 0x14058c72f", "<???> @ 0x140910a48"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}