//
// cocos2d::CCNode::transform from 0x10023bffc to 0x10023c0a4 (168 bytes)
//
// 5 xrefs:
// > cocos2d::CCSpriteBatchNode::visit @ 0x1001d7334
// > cocos2d::CCNode::visit @ 0x10023bf04
// > cocos2d::CCNode::transformAncestors @ 0x10023c0cc
// > ShaderLayer::visit @ 0x10027324c
// > cocos2d::CCRenderTexture::visit @ 0x1003c0b04
//
// 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 cocos2d::CCNode::transform(cocos2d::CCNode *a1)
{
cocos2d::CCCamera *m_pCamera; // x0
cocos2d::CCGridBase *m_pGrid; // x8
_QWORD v4[7]; // [xsp+0h] [xbp-50h] BYREF
float m_fVertexZ; // [xsp+38h] [xbp-18h]
((void (__fastcall *)(_QWORD *__return_ptr))a1->nodeToParentTransform)(v4);
sub_10012E09C((__int64)&a1->m_sTransform, (__int64)v4);
m_fVertexZ = a1->m_fVertexZ;
sub_100168664((__int64)v4);
m_pCamera = a1->m_pCamera;
if ( m_pCamera )
{
m_pGrid = a1->m_pGrid;
if ( !m_pGrid || !m_pGrid->m_bActive )
{
if ( a1->m_obAnchorPointInPoints.x == 0.0 && a1->m_obAnchorPointInPoints.y == 0.0 )
{
cocos2d::CCCamera::locate(m_pCamera);
}
else
{
sub_1001686EC();
cocos2d::CCCamera::locate(a1->m_pCamera);
sub_1001686EC();
}
}
}
}