// // SetGroupIDLayer::onZLayer from 0x1403fcd00 to 0x1403fcdc0 (192 bytes) // // 2 xrefs: // > SetGroupIDLayer::init @ 0x1403f971c // > @ 0x1406d84f8 // // 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) { ZLayer v3; // eax GameObject *m_targetObject; // rcx unsigned int i; // edi struct cocos2d::CCObject *v6; // rax v3 = a2->getTag(a2); m_targetObject = a1->m_targetObject; a1->m_zLayerValue = v3; if ( m_targetObject ) { if ( !m_targetObject->m_zFixedZLayer ) m_targetObject->m_zLayer = v3; a1->m_targetObject->m_updateParents = 1; SetGroupIDLayer::updateZLayerButtons(a1); } else { for ( i = 0; i < cocos2d::CCArray::count(a1->m_targetObjects); ++i ) { v6 = cocos2d::CCArray::objectAtIndex(a1->m_targetObjects, i); if ( !LOBYTE(v6[20].m_uID) ) v6[20].m_nLuaID = a1->m_zLayerValue; LOBYTE(v6[20].m_uUnknown) = 1; } SetGroupIDLayer::updateZLayerButtons(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source