// // cocos2d::CCSpriteBatchNode::addSpriteWithoutQuad from 0x18008dea0 to 0x18008df49 (169 bytes) // // 3 xrefs: // > cocos2d::CCTMXLayer::tileAt @ 0x1800ad5dc // > @ 0x1801438a8 // > @ 0x1801b5f58 // // 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 // struct cocos2d::CCSpriteBatchNode *__fastcall cocos2d::CCSpriteBatchNode::addSpriteWithoutQuad( cocos2d::CCSpriteBatchNode *this, struct cocos2d::CCSprite *a2, unsigned int a3, int a4) { int v6; // r8d cocos2d::CCArray *m_pobDescendants; // r11 cocos2d::ccArray *data; // rax __int64 num; // r10 cocos2d::CCObject **arr; // rax cocos2d::CCObject **i; // r9 a2->m_uAtlasIndex = a3; v6 = 0; m_pobDescendants = this->m_pobDescendants; if ( m_pobDescendants ) { data = m_pobDescendants->data; num = data->num; if ( (_DWORD)num ) { arr = data->arr; for ( i = &arr[num - 1]; arr <= i; ++arr ) { if ( !*arr ) break; if ( (*arr)[6].m_uAutoReleaseCount >= a3 ) break; ++v6; } } } cocos2d::CCArray::insertObject(this->m_pobDescendants, a2); cocos2d::CCNode::addChild(this, a2, a3, a4); this->m_bReorderChildDirty = 0; return this; }