{"type": "func", "start": 4296771020, "end": 4296771148, "name": "FMODAudioEngine::playEffect_1", "pseudocode": "// \n// FMODAudioEngine::playEffect_1 from 0x1001b85cc to 0x1001b864c (128 bytes)\n// \n// 32 xrefs:\n// > MapPackCell::playCompleteEffect @ 0x100136da8\n// > PlayLayer::showCompleteEffect @ 0x1001433e0\n// > PlayLayer::showNewBest @ 0x10014427c\n// > PlayLayer::showNewBest @ 0x1001444ac\n// > PlayLayer::showNewBest @ 0x1001446b0\n// > GJShopLayer::didPurchaseItem @ 0x1001cad80\n// > DailyLevelNode::onClaimReward @ 0x1002516dc\n// > sub_10025B774 @ 0x10025b7a4\n// > RewardUnlockLayer::step2 @ 0x10025b818\n// > RewardUnlockLayer::playRewardEffect @ 0x10025b9d0\n// > RewardUnlockLayer::playRewardEffect @ 0x10025ba04\n// > RewardUnlockLayer::playRewardEffect @ 0x10025bbd4\n// > RewardUnlockLayer::playRewardEffect @ 0x10025bc34\n// > RewardUnlockLayer::playRewardEffect @ 0x10025bc68\n// > RewardUnlockLayer::playRewardEffect @ 0x10025bc9c\n// > RewardUnlockLayer::playRewardEffect @ 0x10025bcd0\n// > RewardUnlockLayer::playRewardEffect @ 0x10025bd04\n// > RewardUnlockLayer::playRewardEffect @ 0x10025bd38\n// > RewardUnlockLayer::playRewardEffect @ 0x10025c6dc\n// > RewardUnlockLayer::playRewardEffect @ 0x10025c71c\n// > RewardUnlockLayer::playRewardEffect @ 0x10025c750\n// > LevelListLayer::onClaimReward @ 0x1002e32c8\n// > sub_100394E80 @ 0x100394ed0\n// > sub_100394E80 @ 0x100394f10\n// > sub_100394E80 @ 0x100394f50\n// > EndLevelLayer::coinEnterFinished @ 0x1003951f4\n// > SecretLayer2::onSubmit @ 0x1003a78dc\n// > SecretLayer3::onClick @ 0x1003abf18\n// > SecretLayer3::onClick @ 0x1003abf4c\n// > LevelAreaLayer::onEnterTower @ 0x1003e3c9c\n// > sub_100464B28 @ 0x100464f3c\n// > LevelBrowserLayer::FLAlert_Clicked @ 0x10049aed8\n// \n// This function is hookable on this platform (idp: arm, 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:00:11 +0000\n// \n\n__int64 __fastcall FMODAudioEngine::playEffect_1(__int64 a1, __int64 a2)\n{\n  __int64 v3; // x19\n  void *__p[2]; // [xsp+0h] [xbp-30h] BYREF\n  __int64 v6; // [xsp+10h] [xbp-20h]\n\n  if ( *(char *)(a2 + 23) < 0 )\n  {\n    sub_1000097D0(__p, *(void **)a2, *(_QWORD *)(a2 + 8));\n  }\n  else\n  {\n    *(_OWORD *)__p = *(_OWORD *)a2;\n    v6 = *(_QWORD *)(a2 + 16);\n  }\n  v3 = FMODAudioEngine::playEffect(a1, __p, 1.0, 0.0, 1.0);\n  if ( SHIBYTE(v6) < 0 )\n    operator delete(__p[0]);\n  return v3;\n}", "assembly": "; \n; FMODAudioEngine::playEffect_1 from 0x1001b85cc to 0x1001b864c (128 bytes)\n; \n; 32 xrefs:\n; > MapPackCell::playCompleteEffect @ 0x100136da8\n; > PlayLayer::showCompleteEffect @ 0x1001433e0\n; > PlayLayer::showNewBest @ 0x10014427c\n; > PlayLayer::showNewBest @ 0x1001444ac\n; > PlayLayer::showNewBest @ 0x1001446b0\n; > GJShopLayer::didPurchaseItem @ 0x1001cad80\n; > DailyLevelNode::onClaimReward @ 0x1002516dc\n; > sub_10025B774 @ 0x10025b7a4\n; > RewardUnlockLayer::step2 @ 0x10025b818\n; > RewardUnlockLayer::playRewardEffect @ 0x10025b9d0\n; > RewardUnlockLayer::playRewardEffect @ 0x10025ba04\n; > RewardUnlockLayer::playRewardEffect @ 0x10025bbd4\n; > RewardUnlockLayer::playRewardEffect @ 0x10025bc34\n; > RewardUnlockLayer::playRewardEffect @ 0x10025bc68\n; > RewardUnlockLayer::playRewardEffect @ 0x10025bc9c\n; > RewardUnlockLayer::playRewardEffect @ 0x10025bcd0\n; > RewardUnlockLayer::playRewardEffect @ 0x10025bd04\n; > RewardUnlockLayer::playRewardEffect @ 0x10025bd38\n; > RewardUnlockLayer::playRewardEffect @ 0x10025c6dc\n; > RewardUnlockLayer::playRewardEffect @ 0x10025c71c\n; > RewardUnlockLayer::playRewardEffect @ 0x10025c750\n; > LevelListLayer::onClaimReward @ 0x1002e32c8\n; > sub_100394E80 @ 0x100394ed0\n; > sub_100394E80 @ 0x100394f10\n; > sub_100394E80 @ 0x100394f50\n; > EndLevelLayer::coinEnterFinished @ 0x1003951f4\n; > SecretLayer2::onSubmit @ 0x1003a78dc\n; > SecretLayer3::onClick @ 0x1003abf18\n; > SecretLayer3::onClick @ 0x1003abf4c\n; > LevelAreaLayer::onEnterTower @ 0x1003e3c9c\n; > sub_100464B28 @ 0x100464f3c\n; > LevelBrowserLayer::FLAlert_Clicked @ 0x10049aed8\n; \n; This function is hookable on this platform (idp: arm, 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:00:11 +0000\n; \nSUB             SP, SP, #0x40                                          ; +0x0, 0x1001b85cc\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x4, 0x1001b85d0\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0x8, 0x1001b85d4\nADD             X29, SP, #0x30                                         ; +0xc, 0x1001b85d8\nMOV             X19, X0                                                ; +0x10, 0x1001b85dc\nLDRSB           W8, [X1,#0x17]                                         ; +0x14, 0x1001b85e0\nTBNZ            W8, #0x1F, loc_1001B85FC                               ; +0x18, 0x1001b85e4\nLDR             Q0, [X1]                                               ; +0x1c, 0x1001b85e8\nSTR             Q0, [SP,#0x30+__p]                                     ; +0x20, 0x1001b85ec\nLDR             X8, [X1,#0x10]                                         ; +0x24, 0x1001b85f0\nSTR             X8, [SP,#0x30+var_20]                                  ; +0x28, 0x1001b85f4\nB               loc_1001B860C                                          ; +0x2c, 0x1001b85f8\nLDP             X8, X2, [X1]                                           ; +0x30, 0x1001b85fc\nMOV             X0, SP; __dst                                          ; +0x34, 0x1001b8600\nMOV             X1, X8; __src                                          ; +0x38, 0x1001b8604\nBL              sub_1000097D0                                          ; +0x3c, 0x1001b8608\nMOV             X1, SP                                                 ; +0x40, 0x1001b860c\nFMOV            S0, #1.0                                               ; +0x44, 0x1001b8610\nFMOV            S1, WZR                                                ; +0x48, 0x1001b8614\nFMOV            S2, #1.0                                               ; +0x4c, 0x1001b8618\nMOV             X0, X19                                                ; +0x50, 0x1001b861c\nBL              FMODAudioEngine__playEffect                            ; +0x54, 0x1001b8620\nMOV             X19, X0                                                ; +0x58, 0x1001b8624\nLDRSB           W8, [SP,#0x30+var_20+7]                                ; +0x5c, 0x1001b8628\nTBZ             W8, #0x1F, loc_1001B8638                               ; +0x60, 0x1001b862c\nLDR             X0, [SP,#0x30+__p]; __p                                ; +0x64, 0x1001b8630\nBL              __ZdlPv; operator delete(void *)                       ; +0x68, 0x1001b8634\nMOV             X0, X19                                                ; +0x6c, 0x1001b8638\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x70, 0x1001b863c\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x74, 0x1001b8640\nADD             SP, SP, #0x40 ; '@'                                    ; +0x78, 0x1001b8644\nRET                                                                    ; +0x7c, 0x1001b8648", "xrefs": ["MapPackCell::playCompleteEffect @ 0x100136da8", "PlayLayer::showCompleteEffect @ 0x1001433e0", "PlayLayer::showNewBest @ 0x10014427c", "PlayLayer::showNewBest @ 0x1001444ac", "PlayLayer::showNewBest @ 0x1001446b0", "GJShopLayer::didPurchaseItem @ 0x1001cad80", "DailyLevelNode::onClaimReward @ 0x1002516dc", "sub_10025B774 @ 0x10025b7a4", "RewardUnlockLayer::step2 @ 0x10025b818", "RewardUnlockLayer::playRewardEffect @ 0x10025b9d0", "RewardUnlockLayer::playRewardEffect @ 0x10025ba04", "RewardUnlockLayer::playRewardEffect @ 0x10025bbd4", "RewardUnlockLayer::playRewardEffect @ 0x10025bc34", "RewardUnlockLayer::playRewardEffect @ 0x10025bc68", "RewardUnlockLayer::playRewardEffect @ 0x10025bc9c", "RewardUnlockLayer::playRewardEffect @ 0x10025bcd0", "RewardUnlockLayer::playRewardEffect @ 0x10025bd04", "RewardUnlockLayer::playRewardEffect @ 0x10025bd38", "RewardUnlockLayer::playRewardEffect @ 0x10025c6dc", "RewardUnlockLayer::playRewardEffect @ 0x10025c71c", "RewardUnlockLayer::playRewardEffect @ 0x10025c750", "LevelListLayer::onClaimReward @ 0x1002e32c8", "sub_100394E80 @ 0x100394ed0", "sub_100394E80 @ 0x100394f10", "sub_100394E80 @ 0x100394f50", "EndLevelLayer::coinEnterFinished @ 0x1003951f4", "SecretLayer2::onSubmit @ 0x1003a78dc", "SecretLayer3::onClick @ 0x1003abf18", "SecretLayer3::onClick @ 0x1003abf4c", "LevelAreaLayer::onEnterTower @ 0x1003e3c9c", "sub_100464B28 @ 0x100464f3c", "LevelBrowserLayer::FLAlert_Clicked @ 0x10049aed8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}