// // ShaderLayer::init from 0x5508b8 to 0x55090c (84 bytes) // // 0 xrefs: // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // bool ShaderLayer::init(ShaderLayer *a1) { _BOOL4 v2; // r5 GameManager *v3; // r0 double v4; // d7 v2 = cocos2d::CCLayer::init(a1); if ( v2 ) { v3 = GameManager::sharedState(); ShaderLayer::setupShader(a1, v3->m_shouldResetShader); v4 = (float)((float)(vcvts_n_f32_s32(rand(), 0x1Fu) * 100.0) + 10000.0); a1->m_state.m_startTime = v4; a1->m_state.m_time = v4; ShaderLayer::updateZLayer(a1, 0, 0, 0); a1->m_state.m_zLayerDirty = 1; } return v2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source