{"type": "func", "start": 4298917572, "end": 4298917644, "name": "AudioEffectsLayer::resetAudioVars", "pseudocode": "// \n// AudioEffectsLayer::resetAudioVars from 0x1003c46c4 to 0x1003c470c (72 bytes)\n// \n// 2 xrefs:\n// > PlayLayer::resetLevel @ 0x100121fb0\n// > AudioEffectsLayer::init @ 0x1003c45f8\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\nvoid __fastcall AudioEffectsLayer::resetAudioVars(AudioEffectsLayer *a1)\n{\n  cocos2d::CCArray *m_unk1c0; // x0\n  cocos2d::CCArray *v3; // x0\n\n  m_unk1c0 = a1->m_unk1c0;\n  if ( m_unk1c0 )\n  {\n    sub_10024A45C((__int64)m_unk1c0);\n    cocos2d::CCObject::release(a1->m_unk1c0);\n    a1->m_unk1c0 = nullptr;\n  }\n  v3 = (cocos2d::CCArray *)sub_10024A2D8(a1->m_unk1bc);\n  a1->m_unk1c0 = v3;\n  cocos2d::CCObject::retain(v3);\n  a1->m_timeElapsed = 0.0;\n}", "assembly": "; \n; AudioEffectsLayer::resetAudioVars from 0x1003c46c4 to 0x1003c470c (72 bytes)\n; \n; 2 xrefs:\n; > PlayLayer::resetLevel @ 0x100121fb0\n; > AudioEffectsLayer::init @ 0x1003c45f8\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1003c46c4\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1003c46c8\nADD             X29, SP, #0x10                                         ; +0x8, 0x1003c46cc\nMOV             X19, X0                                                ; +0xc, 0x1003c46d0\nLDR             X0, [X0,#0x230]                                        ; +0x10, 0x1003c46d4\nCBZ             X0, loc_1003C46EC                                      ; +0x14, 0x1003c46d8\nBL              sub_10024A45C                                          ; +0x18, 0x1003c46dc\nLDR             X0, [X19,#0x230]                                       ; +0x1c, 0x1003c46e0\nBL              cocos2d__CCObject__release                             ; +0x20, 0x1003c46e4\nSTR             XZR, [X19,#0x230]                                      ; +0x24, 0x1003c46e8\nLDR             X0, [X19,#0x228]                                       ; +0x28, 0x1003c46ec\nBL              sub_10024A2D8                                          ; +0x2c, 0x1003c46f0\nSTR             X0, [X19,#0x230]                                       ; +0x30, 0x1003c46f4\nBL              cocos2d__CCObject__retain                              ; +0x34, 0x1003c46f8\nSTR             WZR, [X19,#0x238]                                      ; +0x38, 0x1003c46fc\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x3c, 0x1003c4700\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x40, 0x1003c4704\nRET                                                                    ; +0x44, 0x1003c4708", "xrefs": ["PlayLayer::resetLevel @ 0x100121fb0", "AudioEffectsLayer::init @ 0x1003c45f8"], "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"}