// // GameToolbox::preVisitWithClippingRect from 0x3ccca0 to 0x3ccd0a (106 bytes) // // 4 xrefs: // > BoomScrollLayer::visit @ 0x3c124c // > CCScrollLayerExt::visit @ 0x3c90ca // > ScrollingLayer::visit @ 0x3e75f8 // > ParticlePreviewLayer::visit @ 0x663ef0 // // 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 11:46:38 +0000 // int __fastcall GameToolbox::preVisitWithClippingRect(int a1, const cocos2d::CCRect *a2) { int result; // r0 cocos2d::CCEGLView *v5; // r0 int v6; // r0 _BYTE v7[16]; // [sp+Ch] [bp-24h] BYREF _BYTE v8[16]; // [sp+1Ch] [bp-14h] BYREF result = (*(int (__fastcall **)(int))(*(_DWORD *)a1 + 176))(a1); if ( result ) { glEnable(0xC11u); cocos2d::CCRect::CCRect((cocos2d::CCRect *)v7, a2); GameToolbox::worldClipRect((cocos2d::CCRect *)v8, a1, (const cocos2d::CCRect *)v7); v5 = (cocos2d::CCEGLView *)cocos2d::CCRect::operator=(a2, v8); v6 = cocos2d::CCEGLView::sharedOpenGLView(v5); return (*(int (__fastcall **)(int, _DWORD, _DWORD, _DWORD, _DWORD))(*(_DWORD *)v6 + 56))( v6, *(_DWORD *)a2, *((_DWORD *)a2 + 1), *((_DWORD *)a2 + 2), *((_DWORD *)a2 + 3)); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source