//
// cocos2d::CCDrawNode::enableDrawArea from 0x1006111b0 to 0x100611215 (101 bytes)
//
// 4 xrefs:
// > sub_1000FBF30 @ 0x1000fcc79
// > LevelEditorLayer::updateDebugDraw @ 0x1000fe6bd
// > LevelEditorLayer::updateDebugDraw @ 0x1000ff818
// > GJBaseGameLayer::updateDebugDraw @ 0x100121a17
//
// 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)
{
double v2; // xmm0_8
double v3; // xmm0_8
double v4; // xmm0_8
double v5; // xmm0_8
a1->m_bUseArea = 1;
sub_10028D1A0((__m128 *)&a1->m_rDrawArea, (unsigned __int64 *)a2);
v2 = sub_10028D270((unsigned int *)a2);
a1->m_fMinAreaX = *(float *)&v2;
v3 = sub_10028D230((float *)&a2->origin);
a1->m_fMaxAreaX = *(float *)&v3;
v4 = sub_10028D2C0((__int64)a2);
a1->m_fMinAreaY = *(float *)&v4;
v5 = sub_10028D280((__int64)a2);
a1->m_fMaxAreaY = *(float *)&v5;
}