//
// sub_1002787F0 from 0x1002787f0 to 0x10027880e (30 bytes)
//
// 257 xrefs:
// > EditorUI::addObjectsToSmartTemplate @ 0x10001288b
// > EditorUI::addObjectsToSmartTemplate @ 0x100012981
// > EditorUI::addObjectsToSmartTemplate @ 0x100012a71
// > EditorUI::addObjectsToSmartTemplate @ 0x100012b61
// > EditorUI::addObjectsToSmartTemplate @ 0x100012c51
// > EditorUI::addObjectsToSmartTemplate @ 0x100012d3a
// > EditorUI::addObjectsToSmartTemplate @ 0x100012e2b
// > EditorUI::addObjectsToSmartTemplate @ 0x100012f30
// > EditorUI::addObjectsToSmartTemplate @ 0x100013197
// > EditorUI::getSmartNeighbor @ 0x100013be9
// > EditorUI::createSmartObjectsFromTemplate @ 0x100013da0
// > SetupOpacityPopup::init @ 0x10001cd51
// > CCTextInputNode::keyboardWillShow @ 0x100069800
// > sub_10006A540 @ 0x10006a92b
// > sub_10006C080 @ 0x10006c0ab
// > CCTextInputNode::ccTouchBegan @ 0x10006c450
// > CCTextInputNode::ccTouchEnded @ 0x10006c560
// > CCTextInputNode::holdTimerFired @ 0x10006c8a7
// > CCTextInputNode::rightClick @ 0x10006cc07
// > LevelEditorLayer::rotationForSlopeNearObject @ 0x1000b0335
// > LevelEditorLayer::objectsInRect @ 0x1000b0491
// > LevelEditorLayer::getObjectRect @ 0x1000b0e15
// > sub_1000D00C0 @ 0x1000d012b
// > sub_1000D00C0 @ 0x1000d0237
// > sub_1000D00C0 @ 0x1000d0588
// > LevelEditorLayer::updateDebugDraw @ 0x1000d2e41
// > LevelEditorLayer::updateDebugDraw @ 0x1000d406b
// > GJBaseGameLayer::createBackground @ 0x1000f07af
// > GJBaseGameLayer::updateDebugDraw @ 0x1000fe03e
// > GJBaseGameLayer::updateDebugDraw @ 0x1000fe1ac
// > GJBaseGameLayer::updateDebugDraw @ 0x1000fe70f
// > sub_1000FF1C0 @ 0x1000ff1f4
// > GJBaseGameLayer::staticObjectsInRect @ 0x1000ff71a
// > GJBaseGameLayer::staticObjectsInRect @ 0x1000ff87a
// > GJBaseGameLayer::damagingObjectsInRect @ 0x1000ff8f1
// > GJBaseGameLayer::damagingObjectsInRect @ 0x1000ffc77
// > GJBaseGameLayer::damagingObjectsInRect @ 0x1000ffcc3
// > GJBaseGameLayer::objectIntersectsCircle @ 0x1001002f6
// > GJBaseGameLayer::checkCollisionBlocks @ 0x1001093ec
// > GJBaseGameLayer::visit @ 0x1001430cb
// > GJBaseGameLayer::visit @ 0x1001430da
// > GJBaseGameLayer::visit @ 0x1001430e9
// > GJBaseGameLayer::visit @ 0x10014327a
// > GJBaseGameLayer::visit @ 0x100143382
// > GJBaseGameLayer::visit @ 0x100143b28
// > DS_Dictionary::getRectForKey @ 0x10015d4d6
// > DS_Dictionary::getRectArrayForKey @ 0x10015d9d8
// > sub_100162F80 @ 0x100163016
// > sub_100162F80 @ 0x100163046
// > ForceBlockGameObject::calculateForceToTarget @ 0x1001ce01a
// > CustomizeObjectLayer::init @ 0x1001d834b
// > CustomizeObjectLayer::init @ 0x1001d8d21
// > EditLevelLayer::init @ 0x1001dd140
// > EditLevelLayer::init @ 0x1001dd503
// > CustomSongLayer::init @ 0x1001f89e3
// > CustomSongLayer::init @ 0x1001f8a73
// > SongOptionsLayer::init @ 0x1001fa3c6
// > CommentCell::loadFromComment @ 0x10022df80
// > cocos2d::CCTMXLayer::setupTiles @ 0x1002442a6
// > cocos2d::CCTMXLayer::appendTileForGID @ 0x100244536
// > cocos2d::CCTMXLayer::insertTileForGID @ 0x1002450c8
// > cocos2d::CCTMXLayer::updateTileForGID @ 0x1002452a1
// > LevelSettingsLayer::init @ 0x100257047
// > LevelSettingsLayer::init @ 0x100257319
// > ShareLevelLayer::init @ 0x10026ccf3
// > cocos2d::CCSprite::initWithTexture_2 @ 0x100273e93
// > cocos2d::CCSprite::initWithFile_1 @ 0x100273f20
// > cocos2d::CCSprite::isFrameDisplayed @ 0x10027642e
// > cocos2d::CCAnimation::addSpriteFrameWithFileName @ 0x100281548
// > FriendRequestPopup::init @ 0x10029174a
// > GJMessagePopup::init @ 0x1002939af
// > GJWriteMessagePopup::init @ 0x100295d3e
// > SetIDPopup::init @ 0x100298426
// > sub_10029AA90 @ 0x10029ae8b
// > SetGroupIDLayer::createTextInput @ 0x1002ff726
// > LevelListLayer::init @ 0x100347910
// > ShareListLayer::init @ 0x10034dbe4
// > cocos2d::extension::CCControlSlider::needsLayout @ 0x10038a3e9
// > BoomScrollLayer::visit @ 0x10038fa85
// > BoomScrollLayer::touchInsideClip @ 0x10038faf1
// > sub_10038FB20 @ 0x10038fb58
// > BoomScrollLayer::BoomScrollLayer @ 0x100390e48
// > SetupPulsePopup::init @ 0x100393cf1
// > SetupPulsePopup::init @ 0x10039410c
// > SetupPulsePopup::init @ 0x100394506
// > SetupPulsePopup::init @ 0x100395df7
// > SetupPulsePopup::init @ 0x100396248
// > SecretLayer4::init @ 0x10039a65d
// > cocos2d::CCLabelTTF::updateTexture @ 0x1003a70ab
// > DialogLayer::init @ 0x1003b0af1
// > ShaderLayer::visit @ 0x1003bb295
// > PauseLayer::customSetup @ 0x1003bf8db
// > cocos2d::extension::CCScale9Sprite::init @ 0x1003e0f93
// > cocos2d::extension::CCScale9Sprite::init @ 0x1003e0fa2
// > cocos2d::extension::CCScale9Sprite::initWithBatchNode @ 0x1003e0ff4
// > cocos2d::extension::CCScale9Sprite::initWithBatchNode @ 0x1003e1003
// > cocos2d::extension::CCScale9Sprite::initWithBatchNode_1 @ 0x1003e1059
// > cocos2d::extension::CCScale9Sprite::initWithBatchNode_1 @ 0x1003e1068
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003e14de
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003e14f1
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003e1504
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003e1517
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003e152a
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003e153d
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003e1550
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003e1563
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003e1579
// > cocos2d::extension::CCScale9Sprite::initWithFile_3 @ 0x1003e25e4
// > cocos2d::extension::CCScale9Sprite::initWithFile_3 @ 0x1003e25f3
// > cocos2d::extension::CCScale9Sprite::create @ 0x1003e2659
// > cocos2d::extension::CCScale9Sprite::create @ 0x1003e2668
// > cocos2d::extension::CCScale9Sprite::initWithFile_2 @ 0x1003e26df
// > cocos2d::extension::CCScale9Sprite::initWithFile_2 @ 0x1003e26f2
// > cocos2d::extension::CCScale9Sprite::create_2 @ 0x1003e2754
// > cocos2d::extension::CCScale9Sprite::initWithFile_1 @ 0x1003e27d8
// > cocos2d::extension::CCScale9Sprite::initWithFile_1 @ 0x1003e27e7
// > cocos2d::extension::CCScale9Sprite::create_1 @ 0x1003e2844
// > cocos2d::extension::CCScale9Sprite::initWithFile @ 0x1003e28c1
// > cocos2d::extension::CCScale9Sprite::initWithSpriteFrame_1 @ 0x1003e299a
// > cocos2d::extension::CCScale9Sprite::initWithSpriteFrame_1 @ 0x1003e29ae
// > cocos2d::extension::CCScale9Sprite::createWithSpriteFrame @ 0x1003e2a14
// > cocos2d::extension::CCScale9Sprite::initWithSpriteFrame @ 0x1003e2a91
// > cocos2d::extension::CCScale9Sprite::initWithSpriteFrameName_1 @ 0x1003e2b6f
// > cocos2d::extension::CCScale9Sprite::createWithSpriteFrameName @ 0x1003e2bd4
// > cocos2d::extension::CCScale9Sprite::initWithSpriteFrameName @ 0x1003e2c51
// > cocos2d::extension::CCScale9Sprite::resizableSpriteWithCapInsets @ 0x1003e2d34
// > cocos2d::extension::CCScale9Sprite::resizableSpriteWithCapInsets @ 0x1003e2d43
// > cocos2d::extension::CCScale9Sprite::setCapInsets @ 0x1003e2e97
// > cocos2d::extension::CCScale9Sprite::setCapInsets @ 0x1003e2eae
// > cocos2d::extension::CCScale9Sprite::getCapInsets @ 0x1003e2f00
// > cocos2d::extension::CCScale9Sprite::updateCapInset @ 0x1003e3011
// > cocos2d::extension::CCScale9Sprite::setSpriteFrame @ 0x1003e32ca
// > cocos2d::extension::CCScale9Sprite::setSpriteFrame @ 0x1003e32e2
// > PlayerObject::postCollision @ 0x1003f1e67
// > PlayerObject::postCollision @ 0x1003f1f67
// > PlayerObject::postCollision @ 0x1003f2074
// > PlayerObject::postCollision @ 0x1003f20dc
// > PlayerObject::postCollision @ 0x1003f2126
// > PlayerObject::postCollision @ 0x1003f2378
// > PlayerObject::postCollision @ 0x1003f268e
// > PlayerObject::postCollision @ 0x1003f26f0
// > PlayerObject::postCollision @ 0x1003f273a
// > PlayerObject::postCollision @ 0x1003f2aee
// > PlayerObject::postCollision @ 0x1003f2b09
// > PlayerObject::postCollision @ 0x1003f2b18
// > PlayerObject::postCollision @ 0x1003f2cd3
// > PlayerObject::postCollision @ 0x1003f2cf3
// > PlayerObject::postCollision @ 0x1003f2d02
// > PlayerObject::postCollision @ 0x1003f2dc2
// > PlayerObject::postCollision @ 0x1003f2e41
// > PlayerObject::collidedWithObject @ 0x1003f3982
// > PlayerObject::collidedWithObject @ 0x1003f3991
// > PlayerObject::collidedWithObject @ 0x1003f39bf
// > PlayerObject::collidedWithSlope @ 0x1003f3a26
// > PlayerObject::testForMoving @ 0x1003f3b10
// > PlayerObject::handleRotatedObjectCollision @ 0x1003f3ba6
// > PlayerObject::handleRotatedCollisionInternal @ 0x1003f3c7f
// > PlayerObject::handleRotatedSlopeCollision @ 0x1003f3d6a
// > PlayerObject::collidedWithSlopeInternal @ 0x1003f411e
// > PlayerObject::collidedWithSlopeInternal @ 0x1003f4139
// > PlayerObject::collidedWithObjectInternal @ 0x1003f5bdc
// > PlayerObject::collidedWithObjectInternal @ 0x1003f5c00
// > PlayerObject::collidedWithObjectInternal @ 0x1003f6237
// > PlayerObject::preSlopeCollision @ 0x1003f8814
// > PlayerObject::preSlopeCollision @ 0x1003f882c
// > PlayerObject::preSlopeCollision @ 0x1003f8a20
// > PlayerObject::preSlopeCollision @ 0x1003f8c80
// > PlayerObject::collidedWithObject_1 @ 0x1003f9eb5
// > PlayerObject::collidedWithObject_1 @ 0x1003f9ecf
// > PlayerObject::collidedWithObject_1 @ 0x1003f9ede
// > PlayerObject::collidedWithObject_1 @ 0x1003f9f0b
// > PlayerObject::spiderTestJumpInternal @ 0x1003fa86b
// > PlayerObject::spiderTestJumpInternal @ 0x1003fa877
// > PlayerObject::spiderTestJumpInternal @ 0x1003faa06
// > PlayerObject::spiderTestJumpInternal @ 0x1003faa4e
// > PlayerObject::spiderTestJumpInternal @ 0x1003fab43
// > PlayerObject::spiderTestJumpInternal @ 0x1003fab6c
// > PlayerObject::spiderTestJumpInternal @ 0x1003fabeb
// > PlayerObject::spiderTestJumpInternal @ 0x1003fac78
// > PlayerObject::spiderTestJumpInternal @ 0x1003fb0d8
// > PlayerObject::spiderTestJumpInternal @ 0x1003fb1a9
// > PlayerObject::spiderTestJumpX @ 0x1003fbf64
// > PlayerObject::spiderTestJumpX @ 0x1003fbf70
// > PlayerObject::spiderTestJumpX @ 0x1003fbfd6
// > PlayerObject::spiderTestJumpX @ 0x1003fc005
// > PlayerObject::spiderTestJumpX @ 0x1003fc090
// > PlayerObject::spiderTestJumpX @ 0x1003fc0ae
// > PlayerObject::spiderTestJumpX @ 0x1003fc0ed
// > PlayerObject::spiderTestJumpX @ 0x1003fc195
// > PlayerObject::spiderTestJumpX @ 0x1003fc314
// > PlayerObject::spiderTestJumpY @ 0x1003fcda1
// > PlayerObject::spiderTestJumpY @ 0x1003fcdad
// > PlayerObject::spiderTestJumpY @ 0x1003fce29
// > PlayerObject::spiderTestJumpY @ 0x1003fce58
// > PlayerObject::spiderTestJumpY @ 0x1003fcee3
// > PlayerObject::spiderTestJumpY @ 0x1003fcf01
// > PlayerObject::spiderTestJumpY @ 0x1003fcf40
// > PlayerObject::spiderTestJumpY @ 0x1003fd12c
// > PlayerObject::spiderTestJumpY @ 0x1003fd19a
// > GJSmartBlockPreviewSprite::visit @ 0x100416553
// > ParticlePreviewLayer::visit @ 0x10046be8d
// > SecretLayer5::init @ 0x10046edfb
// > AccountRegisterLayer::init @ 0x10048c8b9
// > AccountRegisterLayer::init @ 0x10048cb20
// > AccountRegisterLayer::init @ 0x10048ce09
// > AccountRegisterLayer::init @ 0x10048d012
// > AccountRegisterLayer::init @ 0x10048d25b
// > AccountRegisterLayer::createTextBackground @ 0x10048df11
// > AccountLoginLayer::init @ 0x100491492
// > AccountLoginLayer::init @ 0x100491881
// > AccountLoginLayer::createTextBackground @ 0x100492241
// > SecretLayer2::init @ 0x10049674d
// > sub_1004B59F0 @ 0x1004b5d21
// > sub_1004B59F0 @ 0x1004b6588
// > sub_1004EAAD0 @ 0x1004eab3f
// > GameToolbox::preVisitWithClippingRect @ 0x1004eac28
// > GameToolbox::preVisitWithClippingRect @ 0x1004eac8e
// > MenuGameLayer::init @ 0x1004f89ba
// > LevelTools::sortSpeedObjects @ 0x100501577
// > sub_100509EF0 @ 0x10050a229
// > sub_100509EF0 @ 0x10050aa98
// > CreateGuidelinesLayer::init @ 0x10050d153
// > cocos2d::CCRectFromString @ 0x1005936d1
// > EditorUI::selectObjectsInRect @ 0x1005b904e
// > EditorUI::ccTouchEnded @ 0x10060af41
// > GameObject::getSlopeAngle @ 0x10068f968
// > GameObject::getScalePosDelta @ 0x10068fa00
// > GameObject::slopeYPos_2 @ 0x10069b03f
// > GameObject::slopeYPos @ 0x10069b106
// > ShareCommentLayer::init @ 0x1006b1e9a
// > SetupRandTriggerPopup::init @ 0x1006b930e
// > CCSpriteWithHue::createWithTexture @ 0x1006c2e28
// > CCSpriteWithHue::initWithTexture_2 @ 0x1006c3303
// > CCSpriteGrayscale::createWithTexture @ 0x1006c4028
// > SecretLayer::init @ 0x1006d1fbe
// > EditorUI::createRockBases @ 0x1006f2339
// > TableView::create @ 0x1006fdf11
// > TableView::TableView @ 0x1006fdfb5
// > ConfigureValuePopup::init @ 0x100701614
// > LevelSearchLayer::init @ 0x100704968
// > LevelSearchLayer::init @ 0x100704fc2
// > LevelSearchLayer::init @ 0x100705af3
// > LevelSearchLayer::init @ 0x10070627d
// > MoreSearchLayer::init @ 0x10070abef
// > SetupCameraOffsetTrigger::init @ 0x100740e15
// > SetupCameraOffsetTrigger::init @ 0x100741744
// > SetupShakePopup::init @ 0x100743b11
// > ScrollingLayer::visit @ 0x1007ff9c7
// > ColorSelectPopup::init @ 0x100803fd5
// > ColorSelectPopup::init @ 0x100805291
// > ColorSelectPopup::init @ 0x100805816
// > ColorSelectPopup::init @ 0x100805f23
// > MoreOptionsLayer::init @ 0x10087d85c
// > InfoLayer::init @ 0x100891e36
// > sub_1009395B0 @ 0x100939b8b
// > sub_100956F80 @ 0x10095704a
// > sub_100956F80 @ 0x1009570d6
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// 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:27:40 +0000
//
void __fastcall sub_1002787F0(__m128 *a1, unsigned __int64 *a2)
{
*a1 = 0;
*a1 = _mm_movelh_ps((__m128)*a2, _mm_max_ps((__m128)0LL, (__m128)a2[1]));
}