//
// cocos2d::CCDrawNode::enableDrawArea from 0x7cc7c0 to 0x7cc7fe (62 bytes)
//
// 5 xrefs:
// > drawTrace @ 0x47b7fc
// > LevelEditorLayer::updateDebugDraw @ 0x47f9c2
// > LevelEditorLayer::updateDebugDraw @ 0x480196
// > GJBaseGameLayer::updateDebugDraw @ 0x58d4f0
// > GJBaseGameLayer::updateDebugDraw @ 0x58dcda
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:00:32 +0000
//
float __fastcall cocos2d::CCDrawNode::enableDrawArea(cocos2d::CCDrawNode *this, cocos2d::CCRect *a2)
{
float result; // r0
*((_BYTE *)this + 309) = 1;
cocos2d::CCRect::operator=((float *)this + 78, (float *)a2);
*((_DWORD *)this + 82) = cocos2d::CCRect::getMinX(a2);
*((float *)this + 83) = cocos2d::CCRect::getMaxX(a2);
*((_DWORD *)this + 85) = cocos2d::CCRect::getMinY(a2);
result = cocos2d::CCRect::getMaxY(a2);
*((float *)this + 84) = result;
return result;
}