; ; AudioEffectsLayer::resetAudioVars from 0x50a202 to 0x50a236 (52 bytes) ; ; 2 xrefs: ; > PlayLayer::resetLevel @ 0x4126b6 ; > AudioEffectsLayer::init @ 0x50a7e8 ; ; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:51:27 +0000 ; PUSH {R4,LR} ; +0x0, 0x50a202 MOV R4, R0 ; +0x2, 0x50a204 LDR.W R0, [R0,#0x1C0]; this ; +0x4, 0x50a206 CBZ R0, loc_50A21E ; +0x8, 0x50a20a BL _ZN7cocos2d7CCArray16removeAllObjectsEv; cocos2d::CCArray::removeAllObjects(void) ; +0xa, 0x50a20c LDR.W R0, [R4,#0x1C0]; this ; +0xe, 0x50a210 BL _ZN7cocos2d8CCObject7releaseEv; cocos2d::CCObject::release(void) ; +0x12, 0x50a214 MOVS R3, #0 ; +0x16, 0x50a218 STR.W R3, [R4,#0x1C0] ; +0x18, 0x50a21a LDR.W R0, [R4,#0x1BC]; this ; +0x1c, 0x50a21e BL _ZN7cocos2d7CCArray15createWithArrayEPS0_; cocos2d::CCArray::createWithArray(cocos2d::CCArray*) ; +0x20, 0x50a222 STR.W R0, [R4,#0x1C0] ; +0x24, 0x50a226 BL _ZN7cocos2d8CCObject6retainEv; cocos2d::CCObject::retain(void) ; +0x28, 0x50a22a MOVS R3, #0 ; +0x2c, 0x50a22e STR.W R3, [R4,#0x1C4] ; +0x2e, 0x50a230 POP {R4,PC} ; +0x32, 0x50a234