// // cocos2d::CCSpriteBatchNode::addSpriteWithoutQuad from 0x5e862e to 0x5e8694 (102 bytes) // // 1 xrefs: // > cocos2d::CCTMXLayer::tileAt @ 0x5f7ede // // 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 data) { cocos2d::CCArray *m_pobDescendants; // r0 cocos2d::CCObject *v8; // r2 int *v9; // r4 char *v10; // r1 int *v11; // r1 int v12; // t1 m_pobDescendants = a1->m_pobDescendants; a2->m_uAtlasIndex = a3; if ( m_pobDescendants ) { data = (int)m_pobDescendants->data; v8 = *(cocos2d::CCObject **)data; if ( *(_DWORD *)data ) { v9 = *(int **)(data + 12); v10 = (char *)&v8[20648881].m_nLuaID + 3; v8 = nullptr; v11 = &v9[(_DWORD)v10]; while ( v9 <= v11 ) { v12 = *v9++; data = v12; if ( !v12 ) break; data = *(_DWORD *)(data + 288); if ( data >= a3 ) break; v8 = (cocos2d::CCObject *)((char *)v8 + 1); } } } else { v8 = nullptr; } cocos2d::CCArray::insertObject(m_pobDescendants, (cocos2d::_ccArray *)a2, v8, data); cocos2d::CCNode::addChild(a1); cocos2d::CCSpriteBatchNode::reorderBatch(a1, 0); return a1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source