//
// sub_10028D180 from 0x10028d180 to 0x10028d19e (30 bytes)
//
// 269 xrefs:
// > GJRotateCommandLayer::init @ 0x100001a62
// > GJRotateCommandLayer::init @ 0x10000238a
// > GJRotateCommandLayer::init @ 0x100002bc4
// > EditorUI::selectObjectsInRect @ 0x10003cb8e
// > EditorUI::addObjectsToSmartTemplate @ 0x1000416bb
// > EditorUI::addObjectsToSmartTemplate @ 0x1000417b1
// > EditorUI::addObjectsToSmartTemplate @ 0x1000418a1
// > EditorUI::addObjectsToSmartTemplate @ 0x100041991
// > EditorUI::addObjectsToSmartTemplate @ 0x100041a81
// > EditorUI::addObjectsToSmartTemplate @ 0x100041b6a
// > EditorUI::addObjectsToSmartTemplate @ 0x100041c5b
// > EditorUI::addObjectsToSmartTemplate @ 0x100041d60
// > EditorUI::addObjectsToSmartTemplate @ 0x100041fc7
// > EditorUI::getSmartNeighbor @ 0x1000429e9
// > EditorUI::createSmartObjectsFromTemplate @ 0x100042b80
// > EditorUI::ccTouchEnded @ 0x10004ffb3
// > SetupOpacityPopup::init @ 0x1000573c1
// > SetupOpacityPopup::init @ 0x1000577dd
// > CCTextInputNode::ccTouchBegan @ 0x1000a0f66
// > LevelEditorLayer::rotationForSlopeNearObject @ 0x1000e0b35
// > LevelEditorLayer::objectsInRect @ 0x1000e0c91
// > LevelEditorLayer::getObjectRect @ 0x1000e1615
// > sub_1000FBF30 @ 0x1000fbf98
// > sub_1000FBF30 @ 0x1000fc070
// > sub_1000FBF30 @ 0x1000fca11
// > LevelEditorLayer::updateDebugDraw @ 0x1000fe68c
// > LevelEditorLayer::updateDebugDraw @ 0x1000ff6d5
// > GJBaseGameLayer::createBackground @ 0x10011450f
// > GJBaseGameLayer::updateDebugDraw @ 0x100121cae
// > GJBaseGameLayer::updateDebugDraw @ 0x100121e1c
// > GJBaseGameLayer::updateDebugDraw @ 0x1001221e0
// > GJBaseGameLayer::staticObjectsInRect @ 0x1001226ca
// > GJBaseGameLayer::staticObjectsInRect @ 0x10012282a
// > GJBaseGameLayer::damagingObjectsInRect @ 0x1001228a1
// > GJBaseGameLayer::damagingObjectsInRect @ 0x100122c27
// > GJBaseGameLayer::damagingObjectsInRect @ 0x100122c73
// > GJBaseGameLayer::objectIntersectsCircle @ 0x1001232a6
// > GJBaseGameLayer::updateCollisionBlocks @ 0x10012b51c
// > GJBaseGameLayer::checkCollisionBlocks @ 0x10012b79d
// > GJBaseGameLayer::visit @ 0x10016395b
// > GJBaseGameLayer::visit @ 0x10016396a
// > GJBaseGameLayer::visit @ 0x100163979
// > GJBaseGameLayer::visit @ 0x100163b0a
// > GJBaseGameLayer::visit @ 0x100163c12
// > GJBaseGameLayer::visit @ 0x1001643b7
// > DS_Dictionary::getRectForKey @ 0x10017e0e6
// > DS_Dictionary::getRectArrayForKey @ 0x10017e5e8
// > sub_100183B90 @ 0x100183c26
// > sub_100183B90 @ 0x100183c56
// > ForceBlockGameObject::calculateForceToTarget @ 0x1001eccca
// > CustomizeObjectLayer::init @ 0x1001f5f9b
// > CustomizeObjectLayer::init @ 0x1001f6971
// > EditLevelLayer::init @ 0x1001fab31
// > EditLevelLayer::init @ 0x1001faeee
// > CustomSongLayer::init @ 0x100215413
// > CustomSongLayer::init @ 0x1002154a3
// > SongOptionsLayer::init @ 0x100216d56
// > CommentCell::loadFromComment @ 0x100248212
// > cocos2d::CCTMXLayer::setupTiles @ 0x10025a316
// > cocos2d::CCTMXLayer::appendTileForGID @ 0x10025a5a6
// > cocos2d::CCTMXLayer::insertTileForGID @ 0x10025b138
// > cocos2d::CCTMXLayer::updateTileForGID @ 0x10025b311
// > LevelSettingsLayer::init @ 0x10026d0c7
// > LevelSettingsLayer::init @ 0x10026d399
// > ShareLevelLayer::init @ 0x10028051d
// > CollisionBlockPopup::init @ 0x1002861d5
// > cocos2d::CCSprite::initWithTexture_2 @ 0x100288933
// > cocos2d::CCSprite::initWithFile_1 @ 0x1002889c0
// > cocos2d::CCSprite::isFrameDisplayed @ 0x10028aece
// > cocos2d::CCAnimation::addSpriteFrameWithFileName @ 0x100296eb8
// > GJAccountSettingsLayer::init @ 0x1002a0ac2
// > FriendRequestPopup::init @ 0x1002a53be
// > GJMessagePopup::init @ 0x1002a72a8
// > GJWriteMessagePopup::init @ 0x1002a95bb
// > SetIDPopup::init @ 0x1002abe53
// > SetTextPopup::init @ 0x1002aee92
// > SetupTouchTogglePopup::init @ 0x1002b8a15
// > SetupCountTriggerPopup::init @ 0x1002bb98e
// > GJFollowCommandLayer::init @ 0x1002d55ec
// > GJFollowCommandLayer::init @ 0x1002d5a17
// > GJFollowCommandLayer::init @ 0x1002d5f05
// > SetGroupIDLayer::createTextInput @ 0x100314da6
// > LevelListLayer::init @ 0x10035c35e
// > ShareListLayer::init @ 0x100362147
// > GJPFollowCommandLayer::init @ 0x100364ceb
// > GJPFollowCommandLayer::init @ 0x100365132
// > GJPFollowCommandLayer::init @ 0x100365513
// > GJPFollowCommandLayer::init @ 0x10036592d
// > GJPFollowCommandLayer::init @ 0x100365bd3
// > SetupRandAdvTriggerPopup::init @ 0x10038e07a
// > SetupCollisionTriggerPopup::init @ 0x10039587a
// > cocos2d::extension::CCControlSlider::needsLayout @ 0x1003a0949
// > BoomScrollLayer::visit @ 0x1003a6365
// > BoomScrollLayer::BoomScrollLayer @ 0x1003a765a
// > SetupPulsePopup::init @ 0x1003aa595
// > SetupPulsePopup::init @ 0x1003aa9aa
// > SetupPulsePopup::init @ 0x1003aada2
// > SetupPulsePopup::init @ 0x1003ab3e2
// > SetupPulsePopup::init @ 0x1003ac8a7
// > SetupPulsePopup::init @ 0x1003acd09
// > SecretLayer4::init @ 0x1003b125d
// > cocos2d::CCLabelTTF::updateTexture @ 0x1003bdcab
// > DialogLayer::init @ 0x1003c75ff
// > ShaderLayer::visit @ 0x1003d1d65
// > SetupAnimationPopup::init @ 0x1003d4eb5
// > PauseLayer::customSetup @ 0x1003d5e0d
// > SetupGravityModPopup::init @ 0x1003d89df
// > cocos2d::extension::CCScale9Sprite::init @ 0x1003f3db3
// > cocos2d::extension::CCScale9Sprite::init @ 0x1003f3dc2
// > cocos2d::extension::CCScale9Sprite::initWithBatchNode @ 0x1003f3e14
// > cocos2d::extension::CCScale9Sprite::initWithBatchNode @ 0x1003f3e23
// > cocos2d::extension::CCScale9Sprite::initWithBatchNode_1 @ 0x1003f3e79
// > cocos2d::extension::CCScale9Sprite::initWithBatchNode_1 @ 0x1003f3e88
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003f42fe
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003f4311
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003f4324
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003f4337
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003f434a
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003f435d
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003f4370
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003f4383
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1003f4399
// > cocos2d::extension::CCScale9Sprite::initWithFile_3 @ 0x1003f5404
// > cocos2d::extension::CCScale9Sprite::initWithFile_3 @ 0x1003f5413
// > cocos2d::extension::CCScale9Sprite::create @ 0x1003f5479
// > cocos2d::extension::CCScale9Sprite::create @ 0x1003f5488
// > cocos2d::extension::CCScale9Sprite::initWithFile_2 @ 0x1003f54ff
// > cocos2d::extension::CCScale9Sprite::initWithFile_2 @ 0x1003f5512
// > cocos2d::extension::CCScale9Sprite::create_2 @ 0x1003f5574
// > cocos2d::extension::CCScale9Sprite::initWithFile_1 @ 0x1003f55f8
// > cocos2d::extension::CCScale9Sprite::initWithFile_1 @ 0x1003f5607
// > cocos2d::extension::CCScale9Sprite::create_1 @ 0x1003f5664
// > cocos2d::extension::CCScale9Sprite::initWithFile @ 0x1003f56e1
// > cocos2d::extension::CCScale9Sprite::initWithSpriteFrame_1 @ 0x1003f57ba
// > cocos2d::extension::CCScale9Sprite::initWithSpriteFrame_1 @ 0x1003f57ce
// > cocos2d::extension::CCScale9Sprite::createWithSpriteFrame @ 0x1003f5834
// > cocos2d::extension::CCScale9Sprite::initWithSpriteFrame @ 0x1003f58b1
// > cocos2d::extension::CCScale9Sprite::initWithSpriteFrameName_1 @ 0x1003f598f
// > cocos2d::extension::CCScale9Sprite::createWithSpriteFrameName @ 0x1003f59f4
// > cocos2d::extension::CCScale9Sprite::initWithSpriteFrameName @ 0x1003f5a71
// > cocos2d::extension::CCScale9Sprite::resizableSpriteWithCapInsets @ 0x1003f5b54
// > cocos2d::extension::CCScale9Sprite::resizableSpriteWithCapInsets @ 0x1003f5b63
// > cocos2d::extension::CCScale9Sprite::setCapInsets @ 0x1003f5cb7
// > cocos2d::extension::CCScale9Sprite::setCapInsets @ 0x1003f5cce
// > cocos2d::extension::CCScale9Sprite::getCapInsets @ 0x1003f5d20
// > cocos2d::extension::CCScale9Sprite::updateCapInset @ 0x1003f5e31
// > cocos2d::extension::CCScale9Sprite::setSpriteFrame @ 0x1003f60ea
// > cocos2d::extension::CCScale9Sprite::setSpriteFrame @ 0x1003f6102
// > PlayerObject::postCollision @ 0x100404dcb
// > PlayerObject::postCollision @ 0x100404ece
// > PlayerObject::postCollision @ 0x100404fde
// > PlayerObject::postCollision @ 0x10040504c
// > PlayerObject::postCollision @ 0x100405090
// > PlayerObject::postCollision @ 0x1004052df
// > PlayerObject::postCollision @ 0x1004055fe
// > PlayerObject::postCollision @ 0x10040565d
// > PlayerObject::postCollision @ 0x1004056a1
// > PlayerObject::postCollision @ 0x100405a4b
// > PlayerObject::postCollision @ 0x100405a66
// > PlayerObject::postCollision @ 0x100405a75
// > PlayerObject::postCollision @ 0x100405c24
// > PlayerObject::postCollision @ 0x100405c44
// > PlayerObject::postCollision @ 0x100405c56
// > PlayerObject::postCollision @ 0x100405d25
// > PlayerObject::postCollision @ 0x100405da7
// > PlayerObject::collidedWithObject @ 0x100406802
// > PlayerObject::collidedWithObject @ 0x100406811
// > PlayerObject::collidedWithObject @ 0x10040683f
// > PlayerObject::collidedWithSlope @ 0x1004068a6
// > PlayerObject::testForMoving @ 0x100406990
// > PlayerObject::handleRotatedObjectCollision @ 0x100406a26
// > PlayerObject::handleRotatedCollisionInternal @ 0x100406aff
// > PlayerObject::handleRotatedSlopeCollision @ 0x100406bea
// > PlayerObject::collidedWithSlopeInternal @ 0x100406f9e
// > PlayerObject::collidedWithSlopeInternal @ 0x100406fb9
// > PlayerObject::collidedWithObjectInternal @ 0x100408a5c
// > PlayerObject::collidedWithObjectInternal @ 0x100408a80
// > PlayerObject::collidedWithObjectInternal @ 0x1004090b7
// > PlayerObject::preSlopeCollision @ 0x10040b694
// > PlayerObject::preSlopeCollision @ 0x10040b6ac
// > PlayerObject::preSlopeCollision @ 0x10040b8a0
// > PlayerObject::preSlopeCollision @ 0x10040bb00
// > PlayerObject::collidedWithObject_1 @ 0x10040cd95
// > PlayerObject::collidedWithObject_1 @ 0x10040cdaf
// > PlayerObject::collidedWithObject_1 @ 0x10040cdbe
// > PlayerObject::collidedWithObject_1 @ 0x10040cdeb
// > PlayerObject::spiderTestJumpInternal @ 0x10040d74b
// > PlayerObject::spiderTestJumpInternal @ 0x10040d757
// > PlayerObject::spiderTestJumpInternal @ 0x10040d8e6
// > PlayerObject::spiderTestJumpInternal @ 0x10040d92e
// > PlayerObject::spiderTestJumpInternal @ 0x10040da23
// > PlayerObject::spiderTestJumpInternal @ 0x10040da4c
// > PlayerObject::spiderTestJumpInternal @ 0x10040dacb
// > PlayerObject::spiderTestJumpInternal @ 0x10040db58
// > PlayerObject::spiderTestJumpInternal @ 0x10040dfb8
// > PlayerObject::spiderTestJumpInternal @ 0x10040e089
// > PlayerObject::spiderTestJumpX @ 0x10040ee44
// > PlayerObject::spiderTestJumpX @ 0x10040ee50
// > PlayerObject::spiderTestJumpX @ 0x10040eeb6
// > PlayerObject::spiderTestJumpX @ 0x10040eee5
// > PlayerObject::spiderTestJumpX @ 0x10040ef70
// > PlayerObject::spiderTestJumpX @ 0x10040ef8e
// > PlayerObject::spiderTestJumpX @ 0x10040efcd
// > PlayerObject::spiderTestJumpX @ 0x10040f075
// > PlayerObject::spiderTestJumpX @ 0x10040f1f4
// > PlayerObject::spiderTestJumpY @ 0x10040fc81
// > PlayerObject::spiderTestJumpY @ 0x10040fc8d
// > PlayerObject::spiderTestJumpY @ 0x10040fd09
// > PlayerObject::spiderTestJumpY @ 0x10040fd38
// > PlayerObject::spiderTestJumpY @ 0x10040fdc3
// > PlayerObject::spiderTestJumpY @ 0x10040fde1
// > PlayerObject::spiderTestJumpY @ 0x10040fe20
// > PlayerObject::spiderTestJumpY @ 0x10041000c
// > PlayerObject::spiderTestJumpY @ 0x10041007a
// > GJSmartBlockPreviewSprite::visit @ 0x1004298e3
// > CCScrollLayerExt::visit @ 0x10042f2b7
// > ParticlePreviewLayer::visit @ 0x10047779d
// > SecretLayer5::init @ 0x10047a49b
// > AccountRegisterLayer::init @ 0x10049587c
// > AccountRegisterLayer::init @ 0x100495ae3
// > AccountRegisterLayer::init @ 0x100495d3f
// > AccountRegisterLayer::init @ 0x100495faa
// > AccountRegisterLayer::init @ 0x1004961f3
// > AccountRegisterLayer::createTextBackground @ 0x100496f81
// > AccountLoginLayer::init @ 0x100499182
// > AccountLoginLayer::init @ 0x100499571
// > AccountLoginLayer::createTextBackground @ 0x100499f21
// > SecretLayer2::init @ 0x10049d77d
// > SetupCameraRotatePopup::init @ 0x1004bcd0e
// > SetupCameraRotatePopup::init @ 0x1004bd575
// > MenuGameLayer::init @ 0x1004f9b2a
// > LevelTools::sortSpeedObjects @ 0x100502847
// > SetupMGTrigger::init @ 0x100508986
// > SetupMGTrigger::init @ 0x1005091f5
// > CreateGuidelinesLayer::init @ 0x10050bb2d
// > cocos2d::CCRectFromString @ 0x1005668c1
// > SetupCameraEdgePopup::init @ 0x100588401
// > GameObject::getSlopeAngle @ 0x1005be2b8
// > GameObject::getScalePosDelta @ 0x1005be350
// > GameObject::slopeYPos_2 @ 0x1005c993f
// > GameObject::slopeYPos @ 0x1005c9a06
// > ShareCommentLayer::init @ 0x1005e0546
// > SetupRandTriggerPopup::init @ 0x1005e574c
// > SetupRandTriggerPopup::init @ 0x1005e5b8b
// > SetupInstantCountPopup::init @ 0x1005e90c0
// > CCSpriteWithHue::createWithTexture_1 @ 0x1005efce8
// > CCSpriteWithHue::initWithTexture_2 @ 0x1005f01c3
// > CCSpriteGrayscale::createWithTexture_1 @ 0x1005f0ee8
// > SecretLayer::init @ 0x1005fb1be
// > EditorUI::createRockBases @ 0x1006158bf
// > TableView::create @ 0x100621791
// > TableView::TableView @ 0x100621835
// > ConfigureValuePopup::init @ 0x100624d74
// > LevelSearchLayer::init @ 0x100627fd9
// > LevelSearchLayer::init @ 0x100628606
// > LevelSearchLayer::init @ 0x1006290dc
// > LevelSearchLayer::init @ 0x10062985d
// > MoreSearchLayer::init @ 0x10062de8f
// > SetupCameraOffsetTrigger::init @ 0x1006618f2
// > SetupCameraOffsetTrigger::init @ 0x100662214
// > SetupShakePopup::init @ 0x100664701
// > SetupEndPopup::init @ 0x100668ec7
// > ScrollingLayer::visit @ 0x100720aa7
// > ColorSelectPopup::init @ 0x1007251d2
// > ColorSelectPopup::init @ 0x10072648e
// > ColorSelectPopup::init @ 0x100726a13
// > ColorSelectPopup::init @ 0x100727123
// > MoreOptionsLayer::init @ 0x10079c544
// > InfoLayer::init @ 0x1007aeb90
//
// 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
//
double __fastcall sub_10028D180(__m128 *a1, unsigned __int64 *a2)
{
__m128 v2; // xmm0
*a1 = 0;
v2 = _mm_max_ps((__m128)0LL, (__m128)a2[1]);
*a1 = _mm_movelh_ps((__m128)*a2, v2);
return *(double *)v2.i64;
}