//
// ButtonSprite::ButtonSprite from 0x10005fb40 to 0x10005fbb4 (116 bytes)
//
// 2 xrefs:
// > ButtonSprite::create @ 0x10005ec04
// > ButtonSprite::create_1 @ 0x10005f31c
//
// 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
//
ButtonSprite *__fastcall ButtonSprite::ButtonSprite(ButtonSprite *a1)
{
__int64 v2; // x0
v2 = cocos2d::CCSprite::CCSprite();
*(_QWORD *)v2 = off_100774E90;
*(_QWORD *)(v2 + 320) = off_100775368;
*(_QWORD *)(v2 + 344) = off_1007753E8;
*(_OWORD *)(v2 + 596) = 0u;
*(_QWORD *)(v2 + 609) = 0;
*(_OWORD *)(v2 + 624) = 0u;
*(_OWORD *)(v2 + 640) = 0u;
sub_1000229B0((_QWORD *)(v2 + 656));
sub_1000229B0(&a1->m_spritePosition);
a1->m_caption.m_data.m_long.longStorage = nullptr;
*(_OWORD *)&a1->m_caption.m_data.m_short.sizex2 = 0u;
return a1;
}