{"type": "func", "start": 4299046944, "end": 4299047050, "name": "FMODAudioEngine::playEffect_1", "pseudocode": "// \n// FMODAudioEngine::playEffect_1 from 0x1003e4020 to 0x1003e408a (106 bytes)\n// \n// 32 xrefs:\n// > PlayLayer::showCompleteEffect @ 0x1000b42b4\n// > PlayLayer::showNewBest @ 0x1000b576d\n// > PlayLayer::showNewBest @ 0x1000b59c7\n// > PlayLayer::showNewBest @ 0x1000b5c26\n// > RewardUnlockLayer::playDropSound @ 0x10021cd79\n// > RewardUnlockLayer::step2 @ 0x10021cdee\n// > RewardUnlockLayer::playRewardEffect @ 0x10021cfb0\n// > RewardUnlockLayer::playRewardEffect @ 0x10021d006\n// > RewardUnlockLayer::playRewardEffect @ 0x10021d27c\n// > RewardUnlockLayer::playRewardEffect @ 0x10021d2e9\n// > RewardUnlockLayer::playRewardEffect @ 0x10021d33b\n// > RewardUnlockLayer::playRewardEffect @ 0x10021d3a8\n// > RewardUnlockLayer::playRewardEffect @ 0x10021d401\n// > RewardUnlockLayer::playRewardEffect @ 0x10021d45b\n// > RewardUnlockLayer::playRewardEffect @ 0x10021d4b4\n// > RewardUnlockLayer::playRewardEffect @ 0x10021d50f\n// > RewardUnlockLayer::playRewardEffect @ 0x10021d554\n// > RewardUnlockLayer::playRewardEffect @ 0x10021d592\n// > DailyLevelNode::onClaimReward @ 0x100233403\n// > MapPackCell::playCompleteEffect @ 0x100252a5b\n// > LevelAreaLayer::onEnterTower @ 0x1002798d1\n// > GJShopLayer::didPurchaseItem @ 0x1003255e9\n// > LevelListLayer::onClaimReward @ 0x10035f119\n// > ChallengeNode::onClaimReward @ 0x10039f67d\n// > SecretLayer2::onSubmit @ 0x10049ead0\n// > SecretLayer3::onClick @ 0x1004a4ee4\n// > SecretLayer3::onClick @ 0x1004a4f2c\n// > EndLevelLayer::playEndEffect @ 0x1004c3367\n// > EndLevelLayer::playEndEffect @ 0x1004c33c4\n// > EndLevelLayer::playEndEffect @ 0x1004c3406\n// > EndLevelLayer::coinEnterFinished @ 0x1004c369d\n// > SecretLayer::onSubmit @ 0x1005fbe2e\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__int64 __fastcall FMODAudioEngine::playEffect_1(__int64 a1, __int128 *a2, double a3)\n{\n  __int64 result; // rax\n  unsigned int v4; // ebx\n  __int128 v5; // [rsp+0h] [rbp-20h] BYREF\n  void *__p; // [rsp+10h] [rbp-10h]\n\n  if ( (*(_BYTE *)a2 & 1) != 0 )\n  {\n    sub_100006B70(&v5, *((const void **)a2 + 2), *((_QWORD *)a2 + 1), a3);\n  }\n  else\n  {\n    __p = *((void **)a2 + 2);\n    v5 = *a2;\n  }\n  result = FMODAudioEngine::playEffect(a1, &v5, 1.0, 0.0, 1.0);\n  if ( (v5 & 1) != 0 )\n  {\n    v4 = result;\n    operator delete(__p);\n    return v4;\n  }\n  return result;\n}", "assembly": "; \n; FMODAudioEngine::playEffect_1 from 0x1003e4020 to 0x1003e408a (106 bytes)\n; \n; 32 xrefs:\n; > PlayLayer::showCompleteEffect @ 0x1000b42b4\n; > PlayLayer::showNewBest @ 0x1000b576d\n; > PlayLayer::showNewBest @ 0x1000b59c7\n; > PlayLayer::showNewBest @ 0x1000b5c26\n; > RewardUnlockLayer::playDropSound @ 0x10021cd79\n; > RewardUnlockLayer::step2 @ 0x10021cdee\n; > RewardUnlockLayer::playRewardEffect @ 0x10021cfb0\n; > RewardUnlockLayer::playRewardEffect @ 0x10021d006\n; > RewardUnlockLayer::playRewardEffect @ 0x10021d27c\n; > RewardUnlockLayer::playRewardEffect @ 0x10021d2e9\n; > RewardUnlockLayer::playRewardEffect @ 0x10021d33b\n; > RewardUnlockLayer::playRewardEffect @ 0x10021d3a8\n; > RewardUnlockLayer::playRewardEffect @ 0x10021d401\n; > RewardUnlockLayer::playRewardEffect @ 0x10021d45b\n; > RewardUnlockLayer::playRewardEffect @ 0x10021d4b4\n; > RewardUnlockLayer::playRewardEffect @ 0x10021d50f\n; > RewardUnlockLayer::playRewardEffect @ 0x10021d554\n; > RewardUnlockLayer::playRewardEffect @ 0x10021d592\n; > DailyLevelNode::onClaimReward @ 0x100233403\n; > MapPackCell::playCompleteEffect @ 0x100252a5b\n; > LevelAreaLayer::onEnterTower @ 0x1002798d1\n; > GJShopLayer::didPurchaseItem @ 0x1003255e9\n; > LevelListLayer::onClaimReward @ 0x10035f119\n; > ChallengeNode::onClaimReward @ 0x10039f67d\n; > SecretLayer2::onSubmit @ 0x10049ead0\n; > SecretLayer3::onClick @ 0x1004a4ee4\n; > SecretLayer3::onClick @ 0x1004a4f2c\n; > EndLevelLayer::playEndEffect @ 0x1004c3367\n; > EndLevelLayer::playEndEffect @ 0x1004c33c4\n; > EndLevelLayer::playEndEffect @ 0x1004c3406\n; > EndLevelLayer::coinEnterFinished @ 0x1004c369d\n; > SecretLayer::onSubmit @ 0x1005fbe2e\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\npush    rbp                                                            ; +0x0, 0x1003e4020\nmov     rbp, rsp                                                       ; +0x1, 0x1003e4021\npush    rbx                                                            ; +0x4, 0x1003e4024\nsub     rsp, 18h                                                       ; +0x5, 0x1003e4025\ntest    byte ptr [rsi], 1                                              ; +0x9, 0x1003e4029\njnz     short loc_1003E403F                                            ; +0xc, 0x1003e402c\nmov     rax, [rsi+10h]                                                 ; +0xe, 0x1003e402e\nmov     [rbp+__p], rax                                                 ; +0x12, 0x1003e4032\nmovups  xmm0, xmmword ptr [rsi]                                        ; +0x16, 0x1003e4036\nmovaps  [rbp+var_20], xmm0                                             ; +0x19, 0x1003e4039\njmp     short loc_1003E4059                                            ; +0x1d, 0x1003e403d\nmov     rdx, [rsi+8]                                                   ; +0x1f, 0x1003e403f\nmov     rsi, [rsi+10h]                                                 ; +0x23, 0x1003e4043\nlea     rax, [rbp+var_20]                                              ; +0x27, 0x1003e4047\nmov     rbx, rdi                                                       ; +0x2b, 0x1003e404b\nmov     rdi, rax                                                       ; +0x2e, 0x1003e404e\ncall    sub_100006B70                                                  ; +0x31, 0x1003e4051\nmov     rdi, rbx                                                       ; +0x36, 0x1003e4056\nlea     rsi, [rbp+var_20]                                              ; +0x39, 0x1003e4059\nmovss   xmm0, cs:alpha                                                 ; +0x3d, 0x1003e405d\nxorps   xmm1, xmm1                                                     ; +0x45, 0x1003e4065\nmovaps  xmm2, xmm0                                                     ; +0x48, 0x1003e4068\ncall    FMODAudioEngine__playEffect                                    ; +0x4b, 0x1003e406b\ntest    byte ptr [rbp+var_20], 1                                       ; +0x50, 0x1003e4070\njz      short loc_1003E4083                                            ; +0x54, 0x1003e4074\nmov     rdi, [rbp+__p]; __p                                            ; +0x56, 0x1003e4076\nmov     ebx, eax                                                       ; +0x5a, 0x1003e407a\ncall    __ZdlPv; operator delete(void *)                               ; +0x5c, 0x1003e407c\nmov     eax, ebx                                                       ; +0x61, 0x1003e4081\nadd     rsp, 18h                                                       ; +0x63, 0x1003e4083\npop     rbx                                                            ; +0x67, 0x1003e4087\npop     rbp                                                            ; +0x68, 0x1003e4088\nretn                                                                   ; +0x69, 0x1003e4089", "xrefs": ["PlayLayer::showCompleteEffect @ 0x1000b42b4", "PlayLayer::showNewBest @ 0x1000b576d", "PlayLayer::showNewBest @ 0x1000b59c7", "PlayLayer::showNewBest @ 0x1000b5c26", "RewardUnlockLayer::playDropSound @ 0x10021cd79", "RewardUnlockLayer::step2 @ 0x10021cdee", "RewardUnlockLayer::playRewardEffect @ 0x10021cfb0", "RewardUnlockLayer::playRewardEffect @ 0x10021d006", "RewardUnlockLayer::playRewardEffect @ 0x10021d27c", "RewardUnlockLayer::playRewardEffect @ 0x10021d2e9", "RewardUnlockLayer::playRewardEffect @ 0x10021d33b", "RewardUnlockLayer::playRewardEffect @ 0x10021d3a8", "RewardUnlockLayer::playRewardEffect @ 0x10021d401", "RewardUnlockLayer::playRewardEffect @ 0x10021d45b", "RewardUnlockLayer::playRewardEffect @ 0x10021d4b4", "RewardUnlockLayer::playRewardEffect @ 0x10021d50f", "RewardUnlockLayer::playRewardEffect @ 0x10021d554", "RewardUnlockLayer::playRewardEffect @ 0x10021d592", "DailyLevelNode::onClaimReward @ 0x100233403", "MapPackCell::playCompleteEffect @ 0x100252a5b", "LevelAreaLayer::onEnterTower @ 0x1002798d1", "GJShopLayer::didPurchaseItem @ 0x1003255e9", "LevelListLayer::onClaimReward @ 0x10035f119", "ChallengeNode::onClaimReward @ 0x10039f67d", "SecretLayer2::onSubmit @ 0x10049ead0", "SecretLayer3::onClick @ 0x1004a4ee4", "SecretLayer3::onClick @ 0x1004a4f2c", "EndLevelLayer::playEndEffect @ 0x1004c3367", "EndLevelLayer::playEndEffect @ 0x1004c33c4", "EndLevelLayer::playEndEffect @ 0x1004c3406", "EndLevelLayer::coinEnterFinished @ 0x1004c369d", "SecretLayer::onSubmit @ 0x1005fbe2e"], "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"}