// // cocos2d::CCNode::transform from 0x7c4a8c to 0x7c4b2c (160 bytes) // // 8 xrefs: // > ShaderLayer::visit @ 0x68545e // > cocos2d::extension::CCScrollView::visit @ 0x7aea80 // > cocos2d::CCNode::visit @ 0x7c4b50 // > cocos2d::CCNode::transformAncestors @ 0x7c4bfc // > cocos2d::CCClippingNode::visit @ 0x7de7f0 // > cocos2d::CCRenderTexture::visit @ 0x7e037e // > cocos2d::CCParticleBatchNode::visit @ 0x7e5912 // > cocos2d::CCSpriteBatchNode::visit @ 0x7f237e // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:00:23 +0000 // int __fastcall cocos2d::CCNode::transform(cocos2d::CCNode *this) { int result; // r0 int v3; // r3 int v4; // r6 _BYTE v5[24]; // [sp+4h] [bp-5Ch] BYREF _BYTE v6[56]; // [sp+1Ch] [bp-44h] BYREF int v7; // [sp+54h] [bp-Ch] (*(void (__fastcall **)(_BYTE *, cocos2d::CCNode *))(*(_DWORD *)this + 400))(v5, this); cocos2d::CGAffineToGL((char *)this + 136, v6); v7 = *((_DWORD *)this + 17); result = kmGLMultMatrix(v6); if ( *((_DWORD *)this + 46) ) { v3 = *((_DWORD *)this + 47); if ( !v3 || !*(_BYTE *)(v3 + 52) ) { if ( *((float *)this + 22) == 0.0 && *((float *)this + 23) == 0.0 ) { v4 = 0; } else { v4 = 1; kmGLTranslatef(*((_DWORD *)this + 22), *((_DWORD *)this + 23), 0); } result = cocos2d::CCCamera::locate(*((cocos2d::CCCamera **)this + 46)); if ( v4 ) return kmGLTranslatef(*((_DWORD *)this + 22) ^ 0x80000000, *((_DWORD *)this + 23) ^ 0x80000000, 0); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source