// // GameToolbox::preVisitWithClippingRect from 0x100044190 to 0x10004423c (172 bytes) // // 4 xrefs: // > BoomScrollLayer::visit @ 0x10012bf50 // > ScrollingLayer::visit @ 0x1001b8ab0 // > ParticlePreviewLayer::visit @ 0x1002d1520 // > CCScrollLayerExt::visit @ 0x1003017fc // // 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 // // local variable allocation has failed, the output may be wrong! void __fastcall GameToolbox::preVisitWithClippingRect(cocos2d::CCNode *a1, cocos2d::CCRect a2) { float32x2_t *v2; // x1 float32x2_t *v3; // x19 cocos2d::CCNode *v5; // x21 float32x2_t *v6; // x0 cocos2d::CCEGLView *v7; // x0 float32x2_t v8; // [xsp+0h] [xbp-30h] BYREF double v9; // [xsp+8h] [xbp-28h] BYREF v3 = v2; if ( ((unsigned int (__fastcall *)(cocos2d::CCNode *, __n128, __n128, __n128, __n128))a1->isVisible)( a1, (__n128)a2, *(__n128 *)((char *)&a2 + 4), *(__n128 *)&a2.size.width, *(__n128 *)&a2.size.height) ) { glEnable(0xC11u); v5 = (cocos2d::CCNode *)((__int64 (__fastcall *)(cocos2d::CCNode *))a1->getParent)(a1); v6 = (float32x2_t *)((__int64 (__fastcall *)(cocos2d::CCNode *))a1->getPosition)(a1); sub_1000229DC(v6, v3, &v8); cocos2d::CCNode::convertToWorldSpace(v5, (const cocos2d::CCPoint *)&v8); sub_1000229D0(v3, &v9); v7 = cocos2d::CCEGLView::sharedOpenGLView(); ((void (__fastcall *)(cocos2d::CCEGLView *, float32_t, float32_t, float32_t, float32_t))v7->setScissorInPoints)( v7, v3->f32[0], v3->f32[1], v3[1].f32[0], v3[1].f32[1]); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source