{"type": "func", "start": 6442501888, "end": 6442501946, "name": "cocos2d::CCRect::CCRect", "pseudocode": "// \n// cocos2d::CCRect::CCRect from 0x18000c700 to 0x18000c73a (58 bytes)\n// \n// 26 xrefs:\n// > cocos2d::CCRectFromString @ 0x18000d46a\n// > sub_180015F00 @ 0x180015fc9\n// > sub_180015F00 @ 0x180015ff6\n// > sub_180015F00 @ 0x180016018\n// > sub_180015F00 @ 0x180016046\n// > DS_Dictionary::getRectArrayForKey @ 0x18001ab77\n// > DS_Dictionary::getRectForKey @ 0x18001ad73\n// > cocos2d::CCLabelTTF::updateTexture @ 0x1800507a4\n// > cocos2d::CCEGLView::createWithRect @ 0x18007974d\n// > cocos2d::CCEGLView::initWithRect @ 0x18007a09a\n// > cocos2d::CCEGLView::toggleFullScreen @ 0x18007bf77\n// > cocos2d::CCAnimation::addSpriteFrameWithFileName @ 0x18008ca02\n// > cocos2d::CCSprite::initWithFile @ 0x18008ecf7\n// > cocos2d::CCSprite::initWithTexture @ 0x18008ee8c\n// > cocos2d::CCSprite::isFrameDisplayed @ 0x18008f0ae\n// > cocos2d::CCTMXLayer::appendTileForGID @ 0x1800af6b4\n// > cocos2d::CCTMXLayer::insertTileForGID @ 0x1800afd04\n// > cocos2d::CCTMXLayer::updateTileForGID @ 0x1800b0f8b\n// > cocos2d::CCDrawNode::CCDrawNode @ 0x1800c8cc7\n// > cocos2d::CCEGLViewProtocol::CCEGLViewProtocol @ 0x1800c8f34\n// > cocos2d::CCParticleSystemQuad::CCParticleSystemQuad @ 0x1800cc10b\n// > cocos2d::CCSprite::CCSprite @ 0x1800cd5c5\n// > cocos2d::CCSpriteFrame::CCSpriteFrame @ 0x1800cd883\n// > cocos2d::CCSpriteFrame::CCSpriteFrame @ 0x1800cd897\n// > cocos2d::CCDrawNode::getDrawArea @ 0x1800d5f83\n// > <???> @ 0x18014cf68\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:21:20 +0000\n// \n\ncocos2d::CCRect *__fastcall cocos2d::CCRect::CCRect(cocos2d::CCRect *this, const struct cocos2d::CCRect *a2)\n{\n  float v2; // xmm2_4\n  float v3; // xmm3_4\n  int v4; // xmm0_4\n\n  *(_QWORD *)this = 0;\n  *((_QWORD *)this + 1) = 0;\n  v2 = fmaxf(*((float *)a2 + 2), 0.0);\n  v3 = fmaxf(*((float *)a2 + 3), 0.0);\n  v4 = *((_DWORD *)a2 + 1);\n  *(_DWORD *)this = *(_DWORD *)a2;\n  *((_DWORD *)this + 1) = v4;\n  *((float *)this + 2) = v2;\n  *((float *)this + 3) = v3;\n  return this;\n}", "assembly": "; \n; cocos2d::CCRect::CCRect from 0x18000c700 to 0x18000c73a (58 bytes)\n; \n; 26 xrefs:\n; > cocos2d::CCRectFromString @ 0x18000d46a\n; > sub_180015F00 @ 0x180015fc9\n; > sub_180015F00 @ 0x180015ff6\n; > sub_180015F00 @ 0x180016018\n; > sub_180015F00 @ 0x180016046\n; > DS_Dictionary::getRectArrayForKey @ 0x18001ab77\n; > DS_Dictionary::getRectForKey @ 0x18001ad73\n; > cocos2d::CCLabelTTF::updateTexture @ 0x1800507a4\n; > cocos2d::CCEGLView::createWithRect @ 0x18007974d\n; > cocos2d::CCEGLView::initWithRect @ 0x18007a09a\n; > cocos2d::CCEGLView::toggleFullScreen @ 0x18007bf77\n; > cocos2d::CCAnimation::addSpriteFrameWithFileName @ 0x18008ca02\n; > cocos2d::CCSprite::initWithFile @ 0x18008ecf7\n; > cocos2d::CCSprite::initWithTexture @ 0x18008ee8c\n; > cocos2d::CCSprite::isFrameDisplayed @ 0x18008f0ae\n; > cocos2d::CCTMXLayer::appendTileForGID @ 0x1800af6b4\n; > cocos2d::CCTMXLayer::insertTileForGID @ 0x1800afd04\n; > cocos2d::CCTMXLayer::updateTileForGID @ 0x1800b0f8b\n; > cocos2d::CCDrawNode::CCDrawNode @ 0x1800c8cc7\n; > cocos2d::CCEGLViewProtocol::CCEGLViewProtocol @ 0x1800c8f34\n; > cocos2d::CCParticleSystemQuad::CCParticleSystemQuad @ 0x1800cc10b\n; > cocos2d::CCSprite::CCSprite @ 0x1800cd5c5\n; > cocos2d::CCSpriteFrame::CCSpriteFrame @ 0x1800cd883\n; > cocos2d::CCSpriteFrame::CCSpriteFrame @ 0x1800cd897\n; > cocos2d::CCDrawNode::getDrawArea @ 0x1800d5f83\n; > <???> @ 0x18014cf68\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:21:20 +0000\n; \nxor     eax, eax                                                       ; +0x0, 0x18000c700\nxorps   xmm1, xmm1                                                     ; +0x2, 0x18000c702\nmov     [rcx], rax                                                     ; +0x5, 0x18000c705\nmov     [rcx+8], rax                                                   ; +0x8, 0x18000c708\nmovss   xmm2, dword ptr [rdx+8]                                        ; +0xc, 0x18000c70c\nmovss   xmm3, dword ptr [rdx+0Ch]                                      ; +0x11, 0x18000c711\nmaxss   xmm2, xmm1                                                     ; +0x16, 0x18000c716\nmov     eax, [rdx]                                                     ; +0x1a, 0x18000c71a\nmaxss   xmm3, xmm1                                                     ; +0x1c, 0x18000c71c\nmovss   xmm0, dword ptr [rdx+4]                                        ; +0x20, 0x18000c720\nmov     [rcx], eax                                                     ; +0x25, 0x18000c725\nmov     rax, rcx                                                       ; +0x27, 0x18000c727\nmovss   dword ptr [rcx+4], xmm0                                        ; +0x2a, 0x18000c72a\nmovss   dword ptr [rcx+8], xmm2                                        ; +0x2f, 0x18000c72f\nmovss   dword ptr [rcx+0Ch], xmm3                                      ; +0x34, 0x18000c734\nretn                                                                   ; +0x39, 0x18000c739", "xrefs": ["cocos2d::CCRectFromString @ 0x18000d46a", "sub_180015F00 @ 0x180015fc9", "sub_180015F00 @ 0x180015ff6", "sub_180015F00 @ 0x180016018", "sub_180015F00 @ 0x180016046", "DS_Dictionary::getRectArrayForKey @ 0x18001ab77", "DS_Dictionary::getRectForKey @ 0x18001ad73", "cocos2d::CCLabelTTF::updateTexture @ 0x1800507a4", "cocos2d::CCEGLView::createWithRect @ 0x18007974d", "cocos2d::CCEGLView::initWithRect @ 0x18007a09a", "cocos2d::CCEGLView::toggleFullScreen @ 0x18007bf77", "cocos2d::CCAnimation::addSpriteFrameWithFileName @ 0x18008ca02", "cocos2d::CCSprite::initWithFile @ 0x18008ecf7", "cocos2d::CCSprite::initWithTexture @ 0x18008ee8c", "cocos2d::CCSprite::isFrameDisplayed @ 0x18008f0ae", "cocos2d::CCTMXLayer::appendTileForGID @ 0x1800af6b4", "cocos2d::CCTMXLayer::insertTileForGID @ 0x1800afd04", "cocos2d::CCTMXLayer::updateTileForGID @ 0x1800b0f8b", "cocos2d::CCDrawNode::CCDrawNode @ 0x1800c8cc7", "cocos2d::CCEGLViewProtocol::CCEGLViewProtocol @ 0x1800c8f34", "cocos2d::CCParticleSystemQuad::CCParticleSystemQuad @ 0x1800cc10b", "cocos2d::CCSprite::CCSprite @ 0x1800cd5c5", "cocos2d::CCSpriteFrame::CCSpriteFrame @ 0x1800cd883", "cocos2d::CCSpriteFrame::CCSpriteFrame @ 0x1800cd897", "cocos2d::CCDrawNode::getDrawArea @ 0x1800d5f83", "<???> @ 0x18014cf68"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}