// // cocos2d::CCSpriteBatchNode::addSpriteWithoutQuad from 0xb18690 to 0xb1874c (188 bytes) // // 2 xrefs: // > cocos2d::CCTMXLayer::tileAt @ 0xb39c48 // > @ 0x35c70 // // 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 // cocos2d::CCSpriteBatchNode *cocos2d::CCSpriteBatchNode::addSpriteWithoutQuad( cocos2d::CCSpriteBatchNode *a1, cocos2d::CCSprite *a2, unsigned int a3, int a4) { cocos2d::CCArray *m_pobDescendants; // x0 cocos2d::ccArray *data; // x1 unsigned __int64 num; // x2 cocos2d::CCObject **arr; // x1 __int64 v11; // x5 unsigned __int64 i; // x5 m_pobDescendants = a1->m_pobDescendants; a2->m_uAtlasIndex = a3; if ( m_pobDescendants ) { data = m_pobDescendants->data; num = data->num; if ( (_DWORD)num ) { arr = data->arr; v11 = 8LL * (unsigned int)num - 8; num = 0; for ( i = (unsigned __int64)arr + v11; i >= (unsigned __int64)arr; num = (unsigned int)(num + 1) ) { if ( !*arr ) break; if ( a3 <= (*arr)[6].m_uAutoReleaseCount ) break; ++arr; } } } else { num = 0; } cocos2d::CCArray::insertObject(m_pobDescendants, (cocos2d::_ccArray *)a2, (cocos2d::CCObject *)num, a4); cocos2d::CCNode::addChild(a1); cocos2d::CCSpriteBatchNode::reorderBatch(a1, 0); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source