{"type": "func", "start": 4299852496, "end": 4299852589, "name": "AudioEffectsLayer::resetAudioVars", "pseudocode": "// \n// AudioEffectsLayer::resetAudioVars from 0x1004a8ad0 to 0x1004a8b2d (93 bytes)\n// \n// 1 xrefs:\n// > PlayLayer::resetLevel @ 0x10008cd3d\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 12:30:55 +0000\n// \n\nvoid __fastcall AudioEffectsLayer::resetAudioVars(__int64 a1)\n{\n  __int64 v2; // rdi\n  __int64 v3; // rax\n\n  v2 = *(_QWORD *)(a1 + 560);\n  if ( v2 )\n  {\n    sub_1007FF190(v2);\n    cocos2d::CCObject::release(*(_DWORD **)(a1 + 560));\n    *(_QWORD *)(a1 + 560) = 0;\n  }\n  v3 = sub_1007FEC00(*(_QWORD *)(a1 + 552));\n  *(_QWORD *)(a1 + 560) = v3;\n  cocos2d::CCObject::retain(v3);\n  *(_DWORD *)(a1 + 568) = 0;\n}", "assembly": "; \n; AudioEffectsLayer::resetAudioVars from 0x1004a8ad0 to 0x1004a8b2d (93 bytes)\n; \n; 1 xrefs:\n; > PlayLayer::resetLevel @ 0x10008cd3d\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 12:30:55 +0000\n; \npush    rbp                                                            ; +0x0, 0x1004a8ad0\nmov     rbp, rsp                                                       ; +0x1, 0x1004a8ad1\npush    rbx                                                            ; +0x4, 0x1004a8ad4\npush    rax                                                            ; +0x5, 0x1004a8ad5\nmov     rbx, rdi                                                       ; +0x6, 0x1004a8ad6\nmov     rdi, [rdi+230h]                                                ; +0x9, 0x1004a8ad9\ntest    rdi, rdi                                                       ; +0x10, 0x1004a8ae0\njz      short loc_1004A8B01                                            ; +0x13, 0x1004a8ae3\ncall    sub_1007FF190                                                  ; +0x15, 0x1004a8ae5\nmov     rdi, [rbx+230h]                                                ; +0x1a, 0x1004a8aea\ncall    cocos2d__CCObject__release                                     ; +0x21, 0x1004a8af1\nmov     qword ptr [rbx+230h], 0                                        ; +0x26, 0x1004a8af6\nmov     rdi, [rbx+228h]                                                ; +0x31, 0x1004a8b01\ncall    sub_1007FEC00                                                  ; +0x38, 0x1004a8b08\nmov     [rbx+230h], rax                                                ; +0x3d, 0x1004a8b0d\nmov     rdi, rax                                                       ; +0x44, 0x1004a8b14\ncall    cocos2d__CCObject__retain                                      ; +0x47, 0x1004a8b17\nmov     dword ptr [rbx+238h], 0                                        ; +0x4c, 0x1004a8b1c\nadd     rsp, 8                                                         ; +0x56, 0x1004a8b26\npop     rbx                                                            ; +0x5a, 0x1004a8b2a\npop     rbp                                                            ; +0x5b, 0x1004a8b2b\nretn                                                                   ; +0x5c, 0x1004a8b2c", "xrefs": ["PlayLayer::resetLevel @ 0x10008cd3d"], "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"}