// // AudioEffectsLayer::audioStep from 0x50a358 to 0x50a3e0 (136 bytes) // // 1 xrefs: // > PlayLayer::postUpdate @ 0x40cc94 // // 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 // float __fastcall AudioEffectsLayer::audioStep(AudioEffectsLayer *this, float a2) { float result; // r0 cocos2d::CCString *v4; // r0 cocos2d::CCString *v5; // r0 float v6; // r5 GameManager *v7; // r0 *((float *)this + 113) = *((float *)this + 113) + a2; result = *((float *)this + 112); if ( result != 0.0 ) { result = COERCE_FLOAT(cocos2d::CCArray::count((cocos2d::CCArray *)LODWORD(result))); if ( result != 0.0 ) { v4 = (cocos2d::CCString *)cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 112), 0); result = COERCE_FLOAT(cocos2d::CCString::floatValue(v4)); if ( result < *((float *)this + 113) ) { v5 = (cocos2d::CCString *)cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 112), 1u); v6 = COERCE_FLOAT(cocos2d::CCString::floatValue(v5)); cocos2d::CCArray::removeObjectAtIndex(*((cocos2d::CCArray **)this + 112), 0, 1); v7 = (GameManager *)cocos2d::CCArray::removeObjectAtIndex(*((cocos2d::CCArray **)this + 112), 0, 1); result = COERCE_FLOAT(GameManager::sharedState(v7)); if ( !*(_BYTE *)(*(_DWORD *)(LODWORD(result) + 404) + 10784) ) return COERCE_FLOAT(AudioEffectsLayer::triggerEffect((int)this, v6)); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source