// // cocos2d::CCAffineTransformInvert from 0xace450 to 0xace4c8 (120 bytes) // // 3 xrefs: // > cocos2d::CCNode::parentToNodeTransform @ 0xacb938 // > cocos2d::CCNode::worldToNodeTransform @ 0xacb9d0 // > @ 0x7ec18 // // 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::CCAffineTransformInvert( cocos2d::CCAffineTransform *__return_ptr retstr, const cocos2d::CCAffineTransform *a2) { float b; // s1 float c; // s2 float d; // s0 float ty; // s6 float tx; // s5 float v8; // s4 float v9; // s6 float v10; // s5 b = a2->b; c = a2->c; d = a2->d; ty = a2->ty; tx = a2->tx; v8 = -(float)((float)(d * tx) - (float)(c * ty)); v9 = -(float)((float)(a2->a * ty) - (float)(b * tx)); v10 = 1.0 / (float)-(float)((float)(b * c) - (float)(a2->a * d)); cocos2d::__CCAffineTransformMake(retstr, d * v10, b * (float)-v10, c * (float)-v10, a2->a * v10, v8 * v10, v9 * v10); return retstr; }
GD Web Decomp Icon

GD Web Decomp

Raw Source