{"type": "func", "start": 5369253232, "end": 5369253328, "name": "AudioEffectsLayer::resetAudioVars", "pseudocode": "// \n// AudioEffectsLayer::resetAudioVars from 0x140084d70 to 0x140084dd0 (96 bytes)\n// \n// 2 xrefs:\n// > AudioEffectsLayer::init @ 0x140084cd6\n// > <???> @ 0x1406c6bc4\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 *m_unk1c0; // rcx\n  cocos2d::CCArray *v3; // rax\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  v3 = cocos2d::CCArray::createWithArray(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 0x140084d70 to 0x140084dd0 (96 bytes)\n; \n; 2 xrefs:\n; > AudioEffectsLayer::init @ 0x140084cd6\n; > <???> @ 0x1406c6bc4\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    rbx                                                            ; +0x0, 0x140084d70\nsub     rsp, 20h                                                       ; +0x2, 0x140084d72\nmov     rbx, rcx                                                       ; +0x6, 0x140084d76\nmov     rcx, [rcx+230h]                                                ; +0x9, 0x140084d79\ntest    rcx, rcx                                                       ; +0x10, 0x140084d80\njz      short loc_140084DA3                                            ; +0x13, 0x140084d83\ncall    cs:?removeAllObjects@CCArray@cocos2d@@QEAAXXZ; cocos2d::CCArray::removeAllObjects(void) ; +0x15, 0x140084d85\nmov     rcx, [rbx+230h]                                                ; +0x1b, 0x140084d8b\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x22, 0x140084d92\nmov     qword ptr [rbx+230h], 0                                        ; +0x28, 0x140084d98\nmov     rcx, [rbx+228h]                                                ; +0x33, 0x140084da3\ncall    cs:?createWithArray@CCArray@cocos2d@@SAPEAV12@PEAV12@@Z; cocos2d::CCArray::createWithArray(cocos2d::CCArray *) ; +0x3a, 0x140084daa\nmov     rcx, rax                                                       ; +0x40, 0x140084db0\nmov     [rbx+230h], rax                                                ; +0x43, 0x140084db3\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x4a, 0x140084dba\nmov     dword ptr [rbx+238h], 0                                        ; +0x50, 0x140084dc0\nadd     rsp, 20h                                                       ; +0x5a, 0x140084dca\npop     rbx                                                            ; +0x5e, 0x140084dce\nretn                                                                   ; +0x5f, 0x140084dcf", "xrefs": ["AudioEffectsLayer::init @ 0x140084cd6", "<???> @ 0x1406c6bc4"], "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"}