//
// cocos2d::CCDrawNode::enableDrawArea from 0xad9894 to 0xad98f4 (96 bytes)
//
// 5 xrefs:
// > drawTrace @ 0x676468
// > LevelEditorLayer::updateDebugDraw @ 0x683b60
// > LevelEditorLayer::updateDebugDraw @ 0x684870
// > GJBaseGameLayer::updateDebugDraw @ 0x854b2c
// > ??> @ 0x9f3c0
//
// 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, (float *)&a2->origin);
a1->m_fMinAreaX = cocos2d::CCRect::getMinX(a2);
a1->m_fMaxAreaX = cocos2d::CCRect::getMaxX(a2);
a1->m_fMinAreaY = cocos2d::CCRect::getMinY(a2);
a1->m_fMaxAreaY = cocos2d::CCRect::getMaxY(a2);
}