{"type": "func", "start": 7925360, "end": 7925436, "name": "AudioEffectsLayer::resetAudioVars", "pseudocode": "// \n// AudioEffectsLayer::resetAudioVars from 0x78ee70 to 0x78eebc (76 bytes)\n// \n// 3 xrefs:\n// > PlayLayer::resetLevel @ 0x5e54d4\n// > AudioEffectsLayer::init @ 0x78f114\n// > <???> @ 0x4f038\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 AudioEffectsLayer::resetAudioVars(AudioEffectsLayer *a1)\n{\n  cocos2d::CCArray *v1; // x1\n  cocos2d::CCArray *m_unk1c0; // x0\n  cocos2d::CCArray *v4; // x0\n\n  m_unk1c0 = a1->m_unk1c0;\n  if ( m_unk1c0 )\n  {\n    cocos2d::CCArray::removeAllObjects(m_unk1c0);\n    cocos2d::CCObject::release(a1->m_unk1c0);\n    a1->m_unk1c0 = nullptr;\n  }\n  v4 = (cocos2d::CCArray *)cocos2d::CCArray::createWithArray(a1->m_unk1bc, v1);\n  a1->m_unk1c0 = v4;\n  cocos2d::CCObject::retain(v4);\n  a1->m_timeElapsed = 0.0;\n}", "assembly": "; \n; AudioEffectsLayer::resetAudioVars from 0x78ee70 to 0x78eebc (76 bytes)\n; \n; 3 xrefs:\n; > PlayLayer::resetLevel @ 0x5e54d4\n; > AudioEffectsLayer::init @ 0x78f114\n; > <???> @ 0x4f038\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             X29, X30, [SP,#var_20]!                                ; +0x0, 0x78ee70\nMOV             X29, SP                                                ; +0x4, 0x78ee74\nSTR             X19, [SP,#0x20+var_10]                                 ; +0x8, 0x78ee78\nMOV             X19, X0                                                ; +0xc, 0x78ee7c\nLDR             X0, [X0,#0x230]; this                                  ; +0x10, 0x78ee80\nCBZ             X0, loc_78EE98                                         ; +0x14, 0x78ee84\nBL              _ZN7cocos2d7CCArray16removeAllObjectsEv; cocos2d::CCArray::removeAllObjects(void) ; +0x18, 0x78ee88\nLDR             X0, [X19,#0x230]; this                                 ; +0x1c, 0x78ee8c\nBL              _ZN7cocos2d8CCObject7releaseEv; cocos2d::CCObject::release(void) ; +0x20, 0x78ee90\nSTR             XZR, [X19,#0x230]                                      ; +0x24, 0x78ee94\nLDR             X0, [X19,#0x228]; this                                 ; +0x28, 0x78ee98\nBL              _ZN7cocos2d7CCArray15createWithArrayEPS0_; cocos2d::CCArray::createWithArray(cocos2d::CCArray*) ; +0x2c, 0x78ee9c\nSTR             X0, [X19,#0x230]                                       ; +0x30, 0x78eea0\nBL              _ZN7cocos2d8CCObject6retainEv; cocos2d::CCObject::retain(void) ; +0x34, 0x78eea4\nFMOV            S0, WZR                                                ; +0x38, 0x78eea8\nSTR             S0, [X19,#0x238]                                       ; +0x3c, 0x78eeac\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x40, 0x78eeb0\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x44, 0x78eeb4\nRET                                                                    ; +0x48, 0x78eeb8", "xrefs": ["PlayLayer::resetLevel @ 0x5e54d4", "AudioEffectsLayer::init @ 0x78f114", "<???> @ 0x4f038"], "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"}