// // ShaderLayer::init from 0x9f9cd8 to 0x9f9d5c (132 bytes) // // 2 xrefs: // > @ 0x5dff0 // > @ 0x11cf0d0 // // 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) { bool v2; // w19 GameManager *v3; // x0 double v4; // d0 v2 = cocos2d::CCLayer::init(a1); if ( v2 ) { v3 = GameManager::sharedState(); ShaderLayer::setupShader(a1, v3->m_shouldResetShader); v4 = (float)((float)((float)((float)rand() * 4.6566e-10) * 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