{"type": "func", "start": 6442537456, "end": 6442537566, "name": "cocos2d::CCDrawNode::enableDrawArea", "pseudocode": "// \n// cocos2d::CCDrawNode::enableDrawArea from 0x1800151f0 to 0x18001525e (110 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801ae488\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall cocos2d::CCDrawNode::enableDrawArea(cocos2d::CCDrawNode *this, struct cocos2d::CCRect *a2)\n{\n  this->m_bUseArea = 1;\n  cocos2d::CCRect::operator=((float *)&this->m_rDrawArea.origin, (float *)&a2->origin);\n  this->m_fMinAreaX = cocos2d::CCRect::getMinX(a2);\n  this->m_fMaxAreaX = cocos2d::CCRect::getMaxX(a2);\n  this->m_fMinAreaY = cocos2d::CCRect::getMinY(a2);\n  this->m_fMaxAreaY = cocos2d::CCRect::getMaxY(a2);\n}", "assembly": "; \n; cocos2d::CCDrawNode::enableDrawArea from 0x1800151f0 to 0x18001525e (110 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801ae488\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800151f0\npush    rdi                                                            ; +0x5, 0x1800151f5\nsub     rsp, 20h                                                       ; +0x6, 0x1800151f6\nmov     rdi, rcx                                                       ; +0xa, 0x1800151fa\nmov     byte ptr [rcx+179h], 1                                         ; +0xd, 0x1800151fd\nadd     rcx, 17Ch                                                      ; +0x14, 0x180015204\nmov     rbx, rdx                                                       ; +0x1b, 0x18001520b\ncall    ??4CCRect@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCRect::operator=(cocos2d::CCRect const &) ; +0x1e, 0x18001520e\nmov     rcx, rbx; this                                                 ; +0x23, 0x180015213\ncall    ?getMinX@CCRect@cocos2d@@QEBAMXZ; cocos2d::CCRect::getMinX(void) ; +0x26, 0x180015216\nmov     rcx, rbx; this                                                 ; +0x2b, 0x18001521b\nmovss   dword ptr [rdi+18Ch], xmm0                                     ; +0x2e, 0x18001521e\ncall    ?getMaxX@CCRect@cocos2d@@QEBAMXZ; cocos2d::CCRect::getMaxX(void) ; +0x36, 0x180015226\nmov     rcx, rbx; this                                                 ; +0x3b, 0x18001522b\nmovss   dword ptr [rdi+190h], xmm0                                     ; +0x3e, 0x18001522e\ncall    ?getMinY@CCRect@cocos2d@@QEBAMXZ; cocos2d::CCRect::getMinY(void) ; +0x46, 0x180015236\nmov     rcx, rbx; this                                                 ; +0x4b, 0x18001523b\nmovss   dword ptr [rdi+198h], xmm0                                     ; +0x4e, 0x18001523e\ncall    ?getMaxY@CCRect@cocos2d@@QEBAMXZ; cocos2d::CCRect::getMaxY(void) ; +0x56, 0x180015246\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x5b, 0x18001524b\nmovss   dword ptr [rdi+194h], xmm0                                     ; +0x60, 0x180015250\nadd     rsp, 20h                                                       ; +0x68, 0x180015258\npop     rdi                                                            ; +0x6c, 0x18001525c\nretn                                                                   ; +0x6d, 0x18001525d", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801ae488"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}