{"type": "func", "start": 4298970512, "end": 4298970618, "name": "FMODAudioEngine::playEffect_1", "pseudocode": "// \n// FMODAudioEngine::playEffect_1 from 0x1003d1590 to 0x1003d15fa (106 bytes)\n// \n// 32 xrefs:\n// > PlayLayer::showCompleteEffect @ 0x100081b54\n// > PlayLayer::showNewBest @ 0x10008302d\n// > PlayLayer::showNewBest @ 0x100083287\n// > PlayLayer::showNewBest @ 0x1000834e6\n// > RewardUnlockLayer::playDropSound @ 0x100200489\n// > RewardUnlockLayer::step2 @ 0x1002004fe\n// > RewardUnlockLayer::playRewardEffect @ 0x1002006c0\n// > RewardUnlockLayer::playRewardEffect @ 0x100200716\n// > RewardUnlockLayer::playRewardEffect @ 0x10020098c\n// > RewardUnlockLayer::playRewardEffect @ 0x1002009f9\n// > RewardUnlockLayer::playRewardEffect @ 0x100200a4b\n// > RewardUnlockLayer::playRewardEffect @ 0x100200ab8\n// > RewardUnlockLayer::playRewardEffect @ 0x100200b11\n// > RewardUnlockLayer::playRewardEffect @ 0x100200b6b\n// > RewardUnlockLayer::playRewardEffect @ 0x100200bc4\n// > RewardUnlockLayer::playRewardEffect @ 0x100200c1f\n// > RewardUnlockLayer::playRewardEffect @ 0x100200c64\n// > RewardUnlockLayer::playRewardEffect @ 0x100200ca2\n// > DailyLevelNode::onClaimReward @ 0x100217a53\n// > MapPackCell::playCompleteEffect @ 0x10023b6ab\n// > LevelAreaLayer::onEnterTower @ 0x100265ed1\n// > GJShopLayer::didPurchaseItem @ 0x100310cf9\n// > LevelListLayer::onClaimReward @ 0x10034a739\n// > LevelBrowserLayer::FLAlert_Clicked @ 0x100487ff2\n// > SecretLayer2::onSubmit @ 0x100497aa0\n// > SecretLayer3::onClick @ 0x10049deb4\n// > SecretLayer3::onClick @ 0x10049defc\n// > EndLevelLayer::playEndEffect @ 0x1004bc3a7\n// > EndLevelLayer::playEndEffect @ 0x1004bc404\n// > EndLevelLayer::playEndEffect @ 0x1004bc446\n// > EndLevelLayer::coinEnterFinished @ 0x1004bc6dd\n// > SecretLayer::onSubmit @ 0x1006d2c2e\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 12:29:39 +0000\n// \n\n__int64 __fastcall FMODAudioEngine::playEffect_1(__int64 a1, __int128 *a2)\n{\n  __int64 result; // rax\n  unsigned int v3; // ebx\n  __int128 v4; // [rsp+0h] [rbp-20h] BYREF\n  void *__p; // [rsp+10h] [rbp-10h]\n\n  if ( (*(_BYTE *)a2 & 1) != 0 )\n  {\n    sub_10001AD30(&v4, *((const void **)a2 + 2), *((_QWORD *)a2 + 1));\n  }\n  else\n  {\n    __p = *((void **)a2 + 2);\n    v4 = *a2;\n  }\n  result = FMODAudioEngine::playEffect(a1, &v4, 1.0, 0.0, 1.0);\n  if ( (v4 & 1) != 0 )\n  {\n    v3 = result;\n    operator delete(__p);\n    return v3;\n  }\n  return result;\n}", "assembly": "; \n; FMODAudioEngine::playEffect_1 from 0x1003d1590 to 0x1003d15fa (106 bytes)\n; \n; 32 xrefs:\n; > PlayLayer::showCompleteEffect @ 0x100081b54\n; > PlayLayer::showNewBest @ 0x10008302d\n; > PlayLayer::showNewBest @ 0x100083287\n; > PlayLayer::showNewBest @ 0x1000834e6\n; > RewardUnlockLayer::playDropSound @ 0x100200489\n; > RewardUnlockLayer::step2 @ 0x1002004fe\n; > RewardUnlockLayer::playRewardEffect @ 0x1002006c0\n; > RewardUnlockLayer::playRewardEffect @ 0x100200716\n; > RewardUnlockLayer::playRewardEffect @ 0x10020098c\n; > RewardUnlockLayer::playRewardEffect @ 0x1002009f9\n; > RewardUnlockLayer::playRewardEffect @ 0x100200a4b\n; > RewardUnlockLayer::playRewardEffect @ 0x100200ab8\n; > RewardUnlockLayer::playRewardEffect @ 0x100200b11\n; > RewardUnlockLayer::playRewardEffect @ 0x100200b6b\n; > RewardUnlockLayer::playRewardEffect @ 0x100200bc4\n; > RewardUnlockLayer::playRewardEffect @ 0x100200c1f\n; > RewardUnlockLayer::playRewardEffect @ 0x100200c64\n; > RewardUnlockLayer::playRewardEffect @ 0x100200ca2\n; > DailyLevelNode::onClaimReward @ 0x100217a53\n; > MapPackCell::playCompleteEffect @ 0x10023b6ab\n; > LevelAreaLayer::onEnterTower @ 0x100265ed1\n; > GJShopLayer::didPurchaseItem @ 0x100310cf9\n; > LevelListLayer::onClaimReward @ 0x10034a739\n; > LevelBrowserLayer::FLAlert_Clicked @ 0x100487ff2\n; > SecretLayer2::onSubmit @ 0x100497aa0\n; > SecretLayer3::onClick @ 0x10049deb4\n; > SecretLayer3::onClick @ 0x10049defc\n; > EndLevelLayer::playEndEffect @ 0x1004bc3a7\n; > EndLevelLayer::playEndEffect @ 0x1004bc404\n; > EndLevelLayer::playEndEffect @ 0x1004bc446\n; > EndLevelLayer::coinEnterFinished @ 0x1004bc6dd\n; > SecretLayer::onSubmit @ 0x1006d2c2e\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 12:29:39 +0000\n; \npush    rbp                                                            ; +0x0, 0x1003d1590\nmov     rbp, rsp                                                       ; +0x1, 0x1003d1591\npush    rbx                                                            ; +0x4, 0x1003d1594\nsub     rsp, 18h                                                       ; +0x5, 0x1003d1595\ntest    byte ptr [rsi], 1                                              ; +0x9, 0x1003d1599\njnz     short loc_1003D15AF                                            ; +0xc, 0x1003d159c\nmov     rax, [rsi+10h]                                                 ; +0xe, 0x1003d159e\nmov     [rbp+__p], rax                                                 ; +0x12, 0x1003d15a2\nmovups  xmm0, xmmword ptr [rsi]                                        ; +0x16, 0x1003d15a6\nmovaps  [rbp+var_20], xmm0                                             ; +0x19, 0x1003d15a9\njmp     short loc_1003D15C9                                            ; +0x1d, 0x1003d15ad\nmov     rdx, [rsi+8]                                                   ; +0x1f, 0x1003d15af\nmov     rsi, [rsi+10h]                                                 ; +0x23, 0x1003d15b3\nlea     rax, [rbp+var_20]                                              ; +0x27, 0x1003d15b7\nmov     rbx, rdi                                                       ; +0x2b, 0x1003d15bb\nmov     rdi, rax                                                       ; +0x2e, 0x1003d15be\ncall    sub_10001AD30                                                  ; +0x31, 0x1003d15c1\nmov     rdi, rbx                                                       ; +0x36, 0x1003d15c6\nlea     rsi, [rbp+var_20]                                              ; +0x39, 0x1003d15c9\nmovss   xmm0, cs:alpha                                                 ; +0x3d, 0x1003d15cd\nxorps   xmm1, xmm1                                                     ; +0x45, 0x1003d15d5\nmovaps  xmm2, xmm0                                                     ; +0x48, 0x1003d15d8\ncall    FMODAudioEngine__playEffect                                    ; +0x4b, 0x1003d15db\ntest    byte ptr [rbp+var_20], 1                                       ; +0x50, 0x1003d15e0\njz      short loc_1003D15F3                                            ; +0x54, 0x1003d15e4\nmov     rdi, [rbp+__p]; __p                                            ; +0x56, 0x1003d15e6\nmov     ebx, eax                                                       ; +0x5a, 0x1003d15ea\ncall    __ZdlPv; operator delete(void *)                               ; +0x5c, 0x1003d15ec\nmov     eax, ebx                                                       ; +0x61, 0x1003d15f1\nadd     rsp, 18h                                                       ; +0x63, 0x1003d15f3\npop     rbx                                                            ; +0x67, 0x1003d15f7\npop     rbp                                                            ; +0x68, 0x1003d15f8\nretn                                                                   ; +0x69, 0x1003d15f9", "xrefs": ["PlayLayer::showCompleteEffect @ 0x100081b54", "PlayLayer::showNewBest @ 0x10008302d", "PlayLayer::showNewBest @ 0x100083287", "PlayLayer::showNewBest @ 0x1000834e6", "RewardUnlockLayer::playDropSound @ 0x100200489", "RewardUnlockLayer::step2 @ 0x1002004fe", "RewardUnlockLayer::playRewardEffect @ 0x1002006c0", "RewardUnlockLayer::playRewardEffect @ 0x100200716", "RewardUnlockLayer::playRewardEffect @ 0x10020098c", "RewardUnlockLayer::playRewardEffect @ 0x1002009f9", "RewardUnlockLayer::playRewardEffect @ 0x100200a4b", "RewardUnlockLayer::playRewardEffect @ 0x100200ab8", "RewardUnlockLayer::playRewardEffect @ 0x100200b11", "RewardUnlockLayer::playRewardEffect @ 0x100200b6b", "RewardUnlockLayer::playRewardEffect @ 0x100200bc4", "RewardUnlockLayer::playRewardEffect @ 0x100200c1f", "RewardUnlockLayer::playRewardEffect @ 0x100200c64", "RewardUnlockLayer::playRewardEffect @ 0x100200ca2", "DailyLevelNode::onClaimReward @ 0x100217a53", "MapPackCell::playCompleteEffect @ 0x10023b6ab", "LevelAreaLayer::onEnterTower @ 0x100265ed1", "GJShopLayer::didPurchaseItem @ 0x100310cf9", "LevelListLayer::onClaimReward @ 0x10034a739", "LevelBrowserLayer::FLAlert_Clicked @ 0x100487ff2", "SecretLayer2::onSubmit @ 0x100497aa0", "SecretLayer3::onClick @ 0x10049deb4", "SecretLayer3::onClick @ 0x10049defc", "EndLevelLayer::playEndEffect @ 0x1004bc3a7", "EndLevelLayer::playEndEffect @ 0x1004bc404", "EndLevelLayer::playEndEffect @ 0x1004bc446", "EndLevelLayer::coinEnterFinished @ 0x1004bc6dd", "SecretLayer::onSubmit @ 0x1006d2c2e"], "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"}