// // GameToolbox::preVisitWithClippingRect from 0x1004eeba0 to 0x1004eec44 (164 bytes) // // 4 xrefs: // > BoomScrollLayer::visit @ 0x1003a6370 // > CCScrollLayerExt::visit @ 0x10042f2c2 // > ParticlePreviewLayer::visit @ 0x1004777a8 // > ScrollingLayer::visit @ 0x100720ab2 // // 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 __fastcall GameToolbox::preVisitWithClippingRect(cocos2d::CCNode *a1, cocos2d::CCRect a2) { float *v2; // rsi const cocos2d::CCPoint *v3; // r15 unsigned __int64 *v4; // rax cocos2d::CCEGLView *v5; // rax double v6; // [rsp+0h] [rbp-30h] BYREF double v7[5]; // [rsp+8h] [rbp-28h] BYREF if ( ((unsigned __int8 (__fastcall *)(cocos2d::CCNode *, double, double))a1->isVisible)( a1, *(double *)&a2.origin, *(double *)&a2.size) ) { glEnable(0xC11u); v3 = (const cocos2d::CCPoint *)((__int64 (__fastcall *)(cocos2d::CCNode *))a1->getParent)(a1); v4 = (unsigned __int64 *)((__int64 (__fastcall *)(cocos2d::CCNode *))a1->getPosition)(a1); sub_10028CCE0(v7, v4, (unsigned __int64 *)v2); cocos2d::CCNode::convertToWorldSpace((cocos2d::CCNode *)&v6, v3); sub_10028CC90(v2, &v6); v5 = cocos2d::CCEGLView::sharedOpenGLView(); ((void (__fastcall *)(cocos2d::CCEGLView *, float, float, float, float))v5->setScissorInPoints)( v5, *v2, v2[1], v2[2], v2[3]); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source