//
// cocos2d::CCDrawNode::enableDrawArea from 0x1000420f8 to 0x100042158 (96 bytes)
//
// 4 xrefs:
// > GJBaseGameLayer::updateDebugDraw @ 0x1001e4828
// > sub_100366FC4 @ 0x100367768
// > LevelEditorLayer::updateDebugDraw @ 0x100367e24
// > LevelEditorLayer::updateDebugDraw @ 0x1003688e0
//
// 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 *a1, cocos2d::CCRect *a2)
{
a1->m_bUseArea = 1;
sub_100022BB0(&a1->m_rDrawArea.origin, (__int64)a2);
a1->m_fMinAreaX = sub_100022C40((__int64)a2);
a1->m_fMaxAreaX = sub_100022C30((float *)&a2->origin);
a1->m_fMinAreaY = sub_100022C58((__int64)a2);
a1->m_fMaxAreaY = sub_100022C48((__int64)a2);
}