//
// cocos2d::CCSprite::setBatchNode from 0x10023979c to 0x1002397e8 (76 bytes)
//
// 75 xrefs:
// > ??> @ 0x100763710
// > ??> @ 0x100773840
// > ??> @ 0x100774178
// > ??> @ 0x1007752e0
// > ??> @ 0x100777e90
// > ??> @ 0x10077b630
// > ??> @ 0x10077bbd0
// > ??> @ 0x100785e80
// > ??> @ 0x100790c20
// > ??> @ 0x100799a10
// > ??> @ 0x1007ace68
// > ??> @ 0x1007ad420
// > ??> @ 0x1007b33d8
// > ??> @ 0x1007b8e98
// > ??> @ 0x1007b9fe8
// > ??> @ 0x1007c4008
// > ??> @ 0x1007c4840
// > ??> @ 0x1007c7748
// > ??> @ 0x1007c8228
// > ??> @ 0x1007c9a48
// > ??> @ 0x1007ca000
// > ??> @ 0x1007cfcd8
// > ??> @ 0x1007d04c0
// > ??> @ 0x1007d0cd0
// > ??> @ 0x1007e5498
// > ??> @ 0x1007ea4c0
// > ??> @ 0x1007eaa78
// > ??> @ 0x1007ec6a8
// > ??> @ 0x1007ecc30
// > ??> @ 0x1007efa58
// > ??> @ 0x1007f5540
// > ??> @ 0x1007f5d78
// > ??> @ 0x1007f6570
// > ??> @ 0x1007f6d68
// > ??> @ 0x1007f7560
// > ??> @ 0x1007f7d58
// > ??> @ 0x1007f8550
// > ??> @ 0x1007f8d48
// > ??> @ 0x1007f9530
// > ??> @ 0x1007f9d40
// > ??> @ 0x1007fa5a8
// > ??> @ 0x1007fadb8
// > ??> @ 0x1007fb5c8
// > ??> @ 0x1007fbdd8
// > ??> @ 0x1007fc5e8
// > ??> @ 0x1007fcdf8
// > ??> @ 0x1007fd608
// > ??> @ 0x1007fde18
// > ??> @ 0x1007fe628
// > ??> @ 0x1007fee38
// > ??> @ 0x1007ff660
// > ??> @ 0x1007ffeb8
// > ??> @ 0x1008006e0
// > ??> @ 0x100800f08
// > ??> @ 0x100801730
// > ??> @ 0x100801f58
// > ??> @ 0x100802768
// > ??> @ 0x100802f78
// > ??> @ 0x100803788
// > ??> @ 0x100803f98
// > ??> @ 0x1008047a8
// > ??> @ 0x100804fb8
// > ??> @ 0x1008057c8
// > ??> @ 0x100805fd8
// > ??> @ 0x1008067e8
// > ??> @ 0x100806ff8
// > ??> @ 0x100807808
// > ??> @ 0x100808018
// > ??> @ 0x100808828
// > ??> @ 0x100809038
// > ??> @ 0x100809848
// > ??> @ 0x10080a058
// > ??> @ 0x10080afe0
// > ??> @ 0x100810ff0
// > ??> @ 0x100816378
//
// 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::CCSprite::setBatchNode(cocos2d::CCSprite *a1, cocos2d::CCSpriteBatchNode *a2)
{
a1->m_pobBatchNode = a2;
if ( a2 )
{
a1->m_transformToBatch = *(cocos2d::CCAffineTransform *)byte_100886DD0;
a1->m_pobTextureAtlas = a2->m_pobTextureAtlas;
}
else
{
a1->m_uAtlasIndex = -1;
a1->m_pobTextureAtlas = nullptr;
a1->m_bRecursiveDirty = 0;
((void (__fastcall *)(cocos2d::CCSprite *))a1->setDirty)(a1);
}
}