// // ParticlePreviewLayer::preVisitWithClippingRect from 0x53517c to 0x5351ee (114 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 // void ParticlePreviewLayer::preVisitWithClippingRect(ParticlePreviewLayer *a1, cocos2d::CCRect a2) { float x; // r6 cocos2d::CCNode *v4; // r7 const cocos2d::CCPoint *v5; // r0 cocos2d::CCEGLView *v6; // r0 cocos2d::CCPoint v7; // [sp+Ch] [bp-18h] BYREF cocos2d::CCPoint v8; // [sp+14h] [bp-10h] BYREF x = a2.origin.x; if ( ((int (__fastcall *)(ParticlePreviewLayer *, _DWORD, _DWORD))a1->isVisible)( a1, LODWORD(a2.origin.x), LODWORD(a2.origin.y)) ) { glEnable(0xC11u); v4 = a1->getParent(a1); v5 = a1->getPosition(a1); cocos2d::CCPoint::operator+(&v8, v5, LODWORD(x)); cocos2d::CCNode::convertToWorldSpace(&v7, v4, &v8); v6 = cocos2d::CCEGLView::sharedOpenGLView(); ((void (__fastcall *)(cocos2d::CCEGLView *, _DWORD, _DWORD, _DWORD, _DWORD))v6->setScissorInPoints)( v6, LODWORD(v7.x), LODWORD(v7.y), *(_DWORD *)(LODWORD(x) + 8), *(_DWORD *)(LODWORD(x) + 12)); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source