//
// cocos2d::CCDrawNode::enableDrawArea from 0x5c54ac to 0x5c54ea (62 bytes)
//
// 4 xrefs:
// > drawTrace @ 0x3785f8
// > LevelEditorLayer::updateDebugDraw @ 0x379ee4
// > LevelEditorLayer::updateDebugDraw @ 0x37a62e
// > GJBaseGameLayer::updateDebugDraw @ 0x46b902
//
// 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 cocos2d::CCDrawNode::enableDrawArea(cocos2d::CCDrawNode *a1, cocos2d::CCRect *a2)
{
a1->m_bUseArea = 1;
cocos2d::CCRect::operator=(&a1->m_rDrawArea, &a2->origin.x);
LODWORD(a1->m_fMinAreaX) = cocos2d::CCRect::getMinX(a2);
a1->m_fMaxAreaX = cocos2d::CCRect::getMaxX(a2);
LODWORD(a1->m_fMinAreaY) = cocos2d::CCRect::getMinY(a2);
a1->m_fMaxAreaY = cocos2d::CCRect::getMaxY(a2);
}