// // cocos2d::CCGridBase::afterDraw from 0x5c7394 to 0x5c7426 (146 bytes) // // 6 xrefs: // > ShaderLayer::visit @ 0x54f23c // > cocos2d::extension::CCScrollView::visit @ 0x5a8e22 // > cocos2d::CCNode::visit @ 0x5be19e // > cocos2d::CCRenderTexture::visit @ 0x5d8010 // > cocos2d::CCParticleBatchNode::visit @ 0x5dd182 // > cocos2d::CCSpriteBatchNode::visit @ 0x5e7b0e // // 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 cocos2d::CCGridBase::afterDraw(cocos2d::CCGridBase *a1, cocos2d::CCNode *a2) { cocos2d::CCDirector *v4; // r0 const cocos2d::CCPoint *v5; // r0 cocos2d::CCCamera *v6; // r0 unsigned int v7; // r0 cocos2d::CCPoint v8; // [sp+4h] [bp-Ch] BYREF LODWORD(v8.x) = a2; cocos2d::CCGrabber::afterRender(a1->m_pGrabber, a1->m_pTexture); v4 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::setProjection(v4, a1->m_directorProjection); if ( a2->getCamera(a2)->m_bDirty ) { v5 = a2->getAnchorPointInPoints(a2); cocos2d::CCPoint::CCPoint(&v8, v5); kmGLTranslatef(LODWORD(v8.x), LODWORD(v8.y), 0); v6 = a2->getCamera(a2); cocos2d::CCCamera::locate(v6); kmGLTranslatef(LODWORD(v8.x) ^ 0x80000000, LODWORD(v8.y) ^ 0x80000000, 0); } v7 = a1->m_pTexture->getName(a1->m_pTexture); cocos2d::ccGLBindTexture2D(v7); a1->blit(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source