// // cocos2d::CCGridBase::afterDraw from 0x7ce6a4 to 0x7ce736 (146 bytes) // // 6 xrefs: // > ShaderLayer::visit @ 0x68556c // > cocos2d::extension::CCScrollView::visit @ 0x7aeb12 // > cocos2d::CCNode::visit @ 0x7c4bde // > cocos2d::CCRenderTexture::visit @ 0x7e03bc // > cocos2d::CCParticleBatchNode::visit @ 0x7e5942 // > cocos2d::CCSpriteBatchNode::visit @ 0x7f23ae // // 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 12:00:33 +0000 // int __fastcall cocos2d::CCGridBase::afterDraw(cocos2d::CCGridBase *this, cocos2d::CCNode *a2, int a3, int a4) { cocos2d::CCDirector *v6; // r0 _DWORD *v7; // r0 const cocos2d::CCPoint *v8; // r0 cocos2d::CCCamera *v9; // r0 __int64 v10; // r0 unsigned int v12; // [sp+4h] [bp-Ch] BYREF int v13; // [sp+8h] [bp-8h] int v14; // [sp+Ch] [bp-4h] v12 = (unsigned int)a2; v13 = a3; v14 = a4; cocos2d::CCGrabber::afterRender(*((GLclampf **)this + 20), *((cocos2d::CCTexture2D **)this + 17)); v7 = (_DWORD *)cocos2d::CCDirector::sharedDirector(v6); cocos2d::CCDirector::setProjection(v7, *((_DWORD *)this + 23)); if ( *(_BYTE *)((*(int (__fastcall **)(cocos2d::CCNode *))(*(_DWORD *)a2 + 336))(a2) + 88) ) { v8 = (const cocos2d::CCPoint *)(*(int (__fastcall **)(cocos2d::CCNode *))(*(_DWORD *)a2 + 156))(a2); cocos2d::CCPoint::CCPoint(&v12, v8); kmGLTranslatef(v12, v13, 0); v9 = (cocos2d::CCCamera *)(*(int (__fastcall **)(cocos2d::CCNode *))(*(_DWORD *)a2 + 336))(a2); cocos2d::CCCamera::locate(v9); kmGLTranslatef(v12 ^ 0x80000000, v13 ^ 0x80000000, 0); } v10 = ((__int64 (__fastcall *)(_DWORD))*(_DWORD *)(**((_DWORD **)this + 17) + 52))(*((_DWORD *)this + 17)); cocos2d::ccGLBindTexture2D((cocos2d *)v10, HIDWORD(v10)); return (*(int (__fastcall **)(cocos2d::CCGridBase *))(*(_DWORD *)this + 40))(this); }
GD Web Decomp Icon

GD Web Decomp

Raw Source