// // SetupGradientPopup::onZLayer from 0x9fa1a8 to 0x9fa228 (128 bytes) // // 3 xrefs: // > @ 0x8a480 // > SetupGradientPopup::init @ 0x9fafdc // > @ 0x122cb38 // // 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 // void SetupGradientPopup::onZLayer(SetupGradientPopup *a1, cocos2d::CCObject *a2) { int v3; // w0 EffectGameObject *m_gameObject; // x1 unsigned int v5; // w20 bool v6; // cf unsigned int v7; // w1 v3 = a2->getTag(a2); a1->m_blendingLayer = v3; m_gameObject = a1->m_gameObject; if ( m_gameObject ) { *(_DWORD *)(&m_gameObject->m_canSpawnTriggers + 1) = v3; SetupGradientPopup::updateZLayerButtons(a1); } else { v5 = 0; while ( 1 ) { v6 = v5 >= (unsigned int)cocos2d::CCArray::count(a1->m_gameObjects); v7 = v5++; if ( v6 ) break; *(_DWORD *)(cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v7) + 1820) = a1->m_blendingLayer; } SetupGradientPopup::updateZLayerButtons(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source