// // SetGroupIDLayer::onZLayer from 0x10003d568 to 0x10003d608 (160 bytes) // // 1 xrefs: // > SetGroupIDLayer::init @ 0x10003bc30 // // 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 __fastcall SetGroupIDLayer::onZLayer(SetGroupIDLayer *a1, cocos2d::CCObject *a2) { __int32 v3; // w1 GameObject *m_targetObject; // x0 __int64 v5; // x20 GameObject *v6; // x21 v3 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2); a1->m_zLayerValue = v3; m_targetObject = a1->m_targetObject; if ( m_targetObject ) { GameObject::setCustomZLayer(m_targetObject, v3); a1->m_targetObject->m_updateParents = 1; } else if ( (unsigned int)sub_10024A36C(a1->m_targetObjects) ) { v5 = 0; do { v6 = (GameObject *)sub_10024A388(a1->m_targetObjects, v5); GameObject::setCustomZLayer(v6, a1->m_zLayerValue); v6->m_updateParents = 1; v5 = (unsigned int)(v5 + 1); } while ( (unsigned int)v5 < (unsigned int)sub_10024A36C(a1->m_targetObjects) ); } SetGroupIDLayer::updateZLayerButtons(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source