{"type": "func", "start": 4299880688, "end": 4299880781, "name": "AudioEffectsLayer::resetAudioVars", "pseudocode": "// \n// AudioEffectsLayer::resetAudioVars from 0x1004af8f0 to 0x1004af94d (93 bytes)\n// \n// 1 xrefs:\n// > PlayLayer::resetLevel @ 0x1000be90d\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; // rdi\n  cocos2d::CCArray *v3; // rax\n\n  m_unk1c0 = a1->m_unk1c0;\n  if ( m_unk1c0 )\n  {\n    sub_100720270(m_unk1c0);\n    cocos2d::CCObject::release(a1->m_unk1c0);\n    a1->m_unk1c0 = nullptr;\n  }\n  v3 = (cocos2d::CCArray *)sub_10071FCE0(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 0x1004af8f0 to 0x1004af94d (93 bytes)\n; \n; 1 xrefs:\n; > PlayLayer::resetLevel @ 0x1000be90d\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    rbp                                                            ; +0x0, 0x1004af8f0\nmov     rbp, rsp                                                       ; +0x1, 0x1004af8f1\npush    rbx                                                            ; +0x4, 0x1004af8f4\npush    rax                                                            ; +0x5, 0x1004af8f5\nmov     rbx, rdi                                                       ; +0x6, 0x1004af8f6\nmov     rdi, [rdi+230h]                                                ; +0x9, 0x1004af8f9\ntest    rdi, rdi                                                       ; +0x10, 0x1004af900\njz      short loc_1004AF921                                            ; +0x13, 0x1004af903\ncall    sub_100720270                                                  ; +0x15, 0x1004af905\nmov     rdi, [rbx+230h]                                                ; +0x1a, 0x1004af90a\ncall    cocos2d__CCObject__release                                     ; +0x21, 0x1004af911\nmov     qword ptr [rbx+230h], 0                                        ; +0x26, 0x1004af916\nmov     rdi, [rbx+228h]                                                ; +0x31, 0x1004af921\ncall    sub_10071FCE0                                                  ; +0x38, 0x1004af928\nmov     [rbx+230h], rax                                                ; +0x3d, 0x1004af92d\nmov     rdi, rax                                                       ; +0x44, 0x1004af934\ncall    cocos2d__CCObject__retain                                      ; +0x47, 0x1004af937\nmov     dword ptr [rbx+238h], 0                                        ; +0x4c, 0x1004af93c\nadd     rsp, 8                                                         ; +0x56, 0x1004af946\npop     rbx                                                            ; +0x5a, 0x1004af94a\npop     rbp                                                            ; +0x5b, 0x1004af94b\nretn                                                                   ; +0x5c, 0x1004af94c", "xrefs": ["PlayLayer::resetLevel @ 0x1000be90d"], "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"}