{"type": "func", "start": 5369341632, "end": 5369341728, "name": "AudioEffectsLayer::resetAudioVars", "pseudocode": "// \n// AudioEffectsLayer::resetAudioVars from 0x14009a6c0 to 0x14009a720 (96 bytes)\n// \n// 2 xrefs:\n// > AudioEffectsLayer::init @ 0x14009a619\n// > <???> @ 0x140912e84\n// \n// This function is hookable on this platform (idp: pc, 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:26:04 +0000\n// \n\nvoid __fastcall AudioEffectsLayer::resetAudioVars(__int64 a1)\n{\n  cocos2d::CCArray *v2; // rcx\n  cocos2d::CCObject *v3; // rax\n\n  v2 = *(cocos2d::CCArray **)(a1 + 560);\n  if ( v2 )\n  {\n    cocos2d::CCArray::removeAllObjects(v2);\n    cocos2d::CCObject::release(*(cocos2d::CCObject **)(a1 + 560));\n    *(_QWORD *)(a1 + 560) = 0;\n  }\n  v3 = cocos2d::CCArray::createWithArray(*(struct cocos2d::CCArray **)(a1 + 552));\n  *(_QWORD *)(a1 + 560) = v3;\n  cocos2d::CCObject::retain(v3);\n  *(_DWORD *)(a1 + 568) = 0;\n}", "assembly": "; \n; AudioEffectsLayer::resetAudioVars from 0x14009a6c0 to 0x14009a720 (96 bytes)\n; \n; 2 xrefs:\n; > AudioEffectsLayer::init @ 0x14009a619\n; > <???> @ 0x140912e84\n; \n; This function is hookable on this platform (idp: pc, 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:26:04 +0000\n; \npush    rbx                                                            ; +0x0, 0x14009a6c0\nsub     rsp, 20h                                                       ; +0x2, 0x14009a6c2\nmov     rbx, rcx                                                       ; +0x6, 0x14009a6c6\nmov     rcx, [rcx+230h]                                                ; +0x9, 0x14009a6c9\ntest    rcx, rcx                                                       ; +0x10, 0x14009a6d0\njz      short loc_14009A6F3                                            ; +0x13, 0x14009a6d3\ncall    cs:?removeAllObjects@CCArray@cocos2d@@QEAAXXZ; cocos2d::CCArray::removeAllObjects(void) ; +0x15, 0x14009a6d5\nmov     rcx, [rbx+230h]                                                ; +0x1b, 0x14009a6db\ncall    cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x22, 0x14009a6e2\nmov     qword ptr [rbx+230h], 0                                        ; +0x28, 0x14009a6e8\nmov     rcx, [rbx+228h]                                                ; +0x33, 0x14009a6f3\ncall    cs:?createWithArray@CCArray@cocos2d@@SAPEAV12@PEAV12@@Z; cocos2d::CCArray::createWithArray(cocos2d::CCArray *) ; +0x3a, 0x14009a6fa\nmov     rcx, rax                                                       ; +0x40, 0x14009a700\nmov     [rbx+230h], rax                                                ; +0x43, 0x14009a703\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x4a, 0x14009a70a\nmov     dword ptr [rbx+238h], 0                                        ; +0x50, 0x14009a710\nadd     rsp, 20h                                                       ; +0x5a, 0x14009a71a\npop     rbx                                                            ; +0x5e, 0x14009a71e\nretn                                                                   ; +0x5f, 0x14009a71f", "xrefs": ["AudioEffectsLayer::init @ 0x14009a619", "<???> @ 0x140912e84"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}