// // cocos2d::CCNode::transform from 0x1800053d0 to 0x1800054ca (250 bytes) // // 10 xrefs: // > cocos2d::CCNode::transformAncestors @ 0x1800054f6 // > cocos2d::CCNode::visit @ 0x1800058df // > cocos2d::CCClippingNode::visit @ 0x18005e86b // > cocos2d::CCRenderTexture::visit @ 0x180062a19 // > cocos2d::CCParticleBatchNode::visit @ 0x180064319 // > cocos2d::CCSpriteBatchNode::visit @ 0x180092826 // > @ 0x180139e58 // > @ 0x180139e68 // > @ 0x18014cf68 // > @ 0x1801b76a8 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:21:18 +0000 // void __fastcall cocos2d::CCNode::transform(cocos2d::CCNode *this) { __int64 v2; // rax _BYTE v3[56]; // [rsp+20h] [rbp-78h] BYREF int v4; // [rsp+58h] [rbp-40h] _BYTE v5[24]; // [rsp+60h] [rbp-38h] BYREF (*(void (__fastcall **)(cocos2d::CCNode *, _BYTE *))(*(_QWORD *)this + 792LL))(this, v5); sub_1800A1180((char *)this + 140, v3); v4 = *((_DWORD *)this + 18); kmGLMultMatrix(v3); if ( *((_QWORD *)this + 24) ) { v2 = *((_QWORD *)this + 25); if ( !v2 || !*(_BYTE *)(v2 + 56) ) { if ( *((float *)this + 23) == 0.0 && *((float *)this + 24) == 0.0 ) { cocos2d::CCCamera::locate(*((cocos2d::CCCamera **)this + 24)); } else { kmGLTranslatef(); cocos2d::CCCamera::locate(*((cocos2d::CCCamera **)this + 24)); kmGLTranslatef(); } } } }