//
// cocos2d::CCDrawNode::enableDrawArea from 0x1800151f0 to 0x18001525e (110 bytes)
//
// 2 xrefs:
// > ??> @ 0x1801438a8
// > ??> @ 0x1801ae488
//
// 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::CCDrawNode::enableDrawArea(cocos2d::CCDrawNode *this, struct cocos2d::CCRect *a2)
{
this->m_bUseArea = 1;
cocos2d::CCRect::operator=((float *)&this->m_rDrawArea.origin, (float *)&a2->origin);
this->m_fMinAreaX = cocos2d::CCRect::getMinX(a2);
this->m_fMaxAreaX = cocos2d::CCRect::getMaxX(a2);
this->m_fMinAreaY = cocos2d::CCRect::getMinY(a2);
this->m_fMaxAreaY = cocos2d::CCRect::getMaxY(a2);
}