// // cocos2d::CCNode::parentToNodeTransform from 0x5bd414 to 0x5bd47e (106 bytes) // // 0 xrefs: // // 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 // cocos2d::CCAffineTransform *cocos2d::CCNode::parentToNodeTransform( cocos2d::CCAffineTransform *__return_ptr retstr, cocos2d::CCNode *a2) { cocos2d::CCAffineTransform *p_m_sInverse; // r4 float b; // r1 float c; // r2 float d; // r3 float ty; // r1 float a; // r0 float v10; // r1 float v11; // r2 float v12; // r3 float *p_tx; // r4 float v14; // r1 cocos2d::CCAffineTransform v16; // [sp+0h] [bp-3Ch] BYREF cocos2d::CCAffineTransform v17; // [sp+1Ch] [bp-20h] BYREF p_m_sInverse = &a2->m_sInverse; if ( a2->m_bInverseDirty ) { ((void (__fastcall *)(cocos2d::CCAffineTransform *))a2->nodeToParentTransform)(&v17); cocos2d::CCAffineTransformInvert(&v16, &v17); b = v16.b; c = v16.c; d = v16.d; p_m_sInverse->a = v16.a; p_m_sInverse->b = b; p_m_sInverse->c = c; p_m_sInverse->d = d; ty = v16.ty; p_m_sInverse->tx = v16.tx; p_m_sInverse->ty = ty; a2->m_bInverseDirty = 0; } a = p_m_sInverse->a; v10 = p_m_sInverse->b; v11 = p_m_sInverse->c; v12 = p_m_sInverse->d; p_tx = &p_m_sInverse->tx; retstr->a = a; retstr->b = v10; retstr->c = v11; retstr->d = v12; v14 = p_tx[1]; retstr->tx = *p_tx; retstr->ty = v14; return retstr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source