// // CCScrollLayerExt::preVisitWithClippingRect from 0x2e8190 to 0x2e81f6 (102 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 CCScrollLayerExt::preVisitWithClippingRect(CCScrollLayerExt *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-10h] BYREF x = a2.origin.x; if ( ((int (__fastcall *)(CCScrollLayerExt *, _DWORD, _DWORD))a1->isVisible)( a1, LODWORD(a2.origin.x), LODWORD(a2.origin.y)) ) { glEnable(0xC11u); v4 = a1->getParent(a1); v5 = a1->getPosition(a1); cocos2d::CCNode::convertToWorldSpace(&v7, v4, v5); 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