// // cocos2d::CCGridBase::afterDraw from 0x1004e3a40 to 0x1004e3b00 (192 bytes) // // 6 xrefs: // > cocos2d::CCSpriteBatchNode::visit @ 0x1001768ac // > cocos2d::CCNode::visit @ 0x100273aaa // > cocos2d::CCParticleBatchNode::visit @ 0x1003c8c0f // > ShaderLayer::visit @ 0x1003d1de5 // > cocos2d::extension::CCScrollView::visit @ 0x1003f8b21 // > cocos2d::CCRenderTexture::visit @ 0x1005f605f // // 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 cocos2d::CCGridBase::afterDraw(cocos2d::CCGridBase *a1, cocos2d::CCNode *a2) { cocos2d::CCDirector *v3; // rax double *v4; // rsi float v5; // xmm0_4 float v6; // xmm1_4 cocos2d::CCCamera *v7; // rax unsigned int v8; // eax __int64 v9; // [rsp+8h] [rbp-18h] BYREF cocos2d::CCGrabber::afterRender(a1->m_pGrabber, a1->m_pTexture); v3 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::setProjection(v3, a1->m_directorProjection); if ( *(_BYTE *)(((__int64 (__fastcall *)(cocos2d::CCNode *))a2->getCamera)(a2) + 92) == 1 ) { v4 = (double *)((__int64 (__fastcall *)(cocos2d::CCNode *))a2->getAnchorPointInPoints)(a2); sub_10028CC60(&v9, v4); v5 = *(float *)&v9; v6 = *((float *)&v9 + 1); sub_100207FE0(); v7 = (cocos2d::CCCamera *)((__int64 (__fastcall *)(cocos2d::CCNode *, float, float, double))a2->getCamera)( a2, v5, v6, 0.0); cocos2d::CCCamera::locate(v7); sub_100207FE0(); } v8 = ((__int64 (__fastcall *)(cocos2d::CCTexture2D *))a1->m_pTexture->getName)(a1->m_pTexture); cocos2d::ccGLBindTexture2D(v8); ((void (__fastcall *)(cocos2d::CCGridBase *))a1->blit)(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source