// // SetGroupIDLayer::onZLayer from 0x9774a8 to 0x977550 (168 bytes) // // 3 xrefs: // > @ 0x304b0 // > SetGroupIDLayer::init @ 0x978400 // > @ 0x12296e8 // // 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 SetGroupIDLayer::onZLayer(SetGroupIDLayer *a1, cocos2d::CCObject *a2) { int v3; // w1 GameObject *m_targetObject; // x0 unsigned int v5; // w19 GameObject *v6; // x21 bool v7; // cf unsigned int v8; // w1 v3 = a2->getTag(a2); m_targetObject = a1->m_targetObject; a1->m_zLayerValue = v3; if ( m_targetObject ) { GameObject::setCustomZLayer(m_targetObject, v3); a1->m_targetObject->m_updateParents = 1; SetGroupIDLayer::updateZLayerButtons(a1); } else { v5 = 0; while ( 1 ) { v7 = v5 >= (unsigned int)cocos2d::CCArray::count(a1->m_targetObjects); v8 = v5++; if ( v7 ) break; v6 = (GameObject *)cocos2d::CCArray::objectAtIndex(a1->m_targetObjects, v8); GameObject::setCustomZLayer(v6, a1->m_zLayerValue); v6->m_updateParents = 1; } SetGroupIDLayer::updateZLayerButtons(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source