//
// sub_100022B98 from 0x100022b98 to 0x100022bb0 (24 bytes)
//
// 198 xrefs:
// > GJSmartBlockPreviewSprite::visit @ 0x100009720
// > SetupOpacityPopup::init @ 0x10002310c
// > SetupOpacityPopup::init @ 0x1000234f0
// > SetupRandAdvTriggerPopup::init @ 0x10002e9bc
// > SetGroupIDLayer::createTextInput @ 0x10003d058
// > CustomizeObjectLayer::init @ 0x10004e2cc
// > CustomizeObjectLayer::init @ 0x10004ebac
// > LevelSearchLayer::init @ 0x100051a04
// > LevelSearchLayer::init @ 0x100051f74
// > LevelSearchLayer::init @ 0x1000526c0
// > LevelSearchLayer::init @ 0x100052998
// > MoreSearchLayer::init @ 0x1000560e0
// > cocos2d::CCLabelTTF::updateTexture @ 0x10006ea50
// > SecretLayer5::init @ 0x100074300
// > EditorUI::createRockBases @ 0x100079698
// > CreateGuidelinesLayer::init @ 0x10007ca60
// > AccountRegisterLayer::createTextBackground @ 0x100081f18
// > AccountLoginLayer::createTextBackground @ 0x100083c0c
// > CollisionBlockPopup::init @ 0x100085014
// > DialogLayer::init @ 0x100086b24
// > EditLevelLayer::init @ 0x1000e918c
// > EditLevelLayer::init @ 0x1000e94c0
// > MoreOptionsLayer::init @ 0x1000ee3f8
// > SetupCountTriggerPopup::init @ 0x1000f3f68
// > CommentCell::loadFromComment @ 0x100106564
// > BoomScrollLayer::visit @ 0x10012bf44
// > BoomScrollLayer::BoomScrollLayer @ 0x10012ca84
// > GJFollowCommandLayer::init @ 0x1001365e0
// > GJFollowCommandLayer::init @ 0x1001369d0
// > GJFollowCommandLayer::init @ 0x100136dbc
// > PauseLayer::customSetup @ 0x100141eb0
// > CustomSongLayer::init @ 0x100144170
// > CustomSongLayer::init @ 0x100144200
// > SongOptionsLayer::init @ 0x100145424
// > ConfigureValuePopup::init @ 0x10014fdf4
// > GJPFollowCommandLayer::init @ 0x10015ed78
// > GJPFollowCommandLayer::init @ 0x10015f15c
// > GJPFollowCommandLayer::init @ 0x10015f4ac
// > GJPFollowCommandLayer::init @ 0x10015f8b8
// > GJPFollowCommandLayer::init @ 0x10015fb1c
// > CCTextInputNode::ccTouchBegan @ 0x10016e8d4
// > LevelSettingsLayer::init @ 0x10017a9f0
// > LevelSettingsLayer::init @ 0x10017ac54
// > SetupCameraOffsetTrigger::init @ 0x10018f024
// > SetupCameraOffsetTrigger::init @ 0x10018f894
// > CCSpriteWithHue::initWithTexture_2 @ 0x1001a388c
// > cocos2d::CCRectFromString @ 0x1001a6198
// > LevelTools::sortSpeedObjects @ 0x1001a9b44
// > ScrollingLayer::visit @ 0x1001b8aa4
// > SetupInstantCountPopup::init @ 0x1001bc2a4
// > SetupRandTriggerPopup::init @ 0x1001ca01c
// > SetupRandTriggerPopup::init @ 0x1001ca3d4
// > ShareCommentLayer::init @ 0x1001d4ea4
// > GJBaseGameLayer::createBackground @ 0x1001ddd68
// > GJBaseGameLayer::updateDebugDraw @ 0x1001e49e8
// > GJBaseGameLayer::updateDebugDraw @ 0x1001e4b38
// > GJBaseGameLayer::updateDebugDraw @ 0x1001e4ef4
// > GJBaseGameLayer::staticObjectsInRect @ 0x1001e52e4
// > GJBaseGameLayer::damagingObjectsInRect @ 0x1001e53a0
// > GJBaseGameLayer::damagingObjectsInRect @ 0x1001e563c
// > GJBaseGameLayer::damagingObjectsInRect @ 0x1001e5674
// > GJBaseGameLayer::objectIntersectsCircle @ 0x1001e5b74
// > GJBaseGameLayer::checkCollisionBlocks @ 0x1001eb308
// > GJBaseGameLayer::visit @ 0x100208184
// > GJBaseGameLayer::visit @ 0x100208190
// > GJBaseGameLayer::visit @ 0x10020819c
// > GJBaseGameLayer::visit @ 0x1002082e4
// > GJBaseGameLayer::visit @ 0x1002083c0
// > GJBaseGameLayer::visit @ 0x100208cd4
// > cocos2d::extension::CCScale9Sprite::init @ 0x100214730
// > cocos2d::extension::CCScale9Sprite::init @ 0x10021473c
// > cocos2d::extension::CCScale9Sprite::initWithBatchNode @ 0x100214794
// > cocos2d::extension::CCScale9Sprite::initWithBatchNode @ 0x1002147a0
// > cocos2d::extension::CCScale9Sprite::initWithBatchNode_1 @ 0x100214808
// > cocos2d::extension::CCScale9Sprite::initWithBatchNode_1 @ 0x100214814
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x100214ba0
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x100214bac
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x100214bb8
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x100214bc4
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x100214bd0
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x100214bdc
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x100214be8
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x100214bf4
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x100214c00
// > cocos2d::extension::CCScale9Sprite::initWithFile_3 @ 0x100215b08
// > cocos2d::extension::CCScale9Sprite::initWithFile_3 @ 0x100215b14
// > cocos2d::extension::CCScale9Sprite::initWithFile_2 @ 0x100215b68
// > cocos2d::extension::CCScale9Sprite::initWithFile_2 @ 0x100215b78
// > cocos2d::extension::CCScale9Sprite::create @ 0x100215bdc
// > cocos2d::extension::CCScale9Sprite::initWithFile_1 @ 0x100215c74
// > cocos2d::extension::CCScale9Sprite::initWithFile_1 @ 0x100215c80
// > cocos2d::extension::CCScale9Sprite::initWithFile @ 0x100215cd8
// > cocos2d::extension::CCScale9Sprite::initWithSpriteFrame_1 @ 0x100215d40
// > cocos2d::extension::CCScale9Sprite::initWithSpriteFrame_1 @ 0x100215d50
// > cocos2d::extension::CCScale9Sprite::initWithSpriteFrame @ 0x100215dac
// > cocos2d::extension::CCScale9Sprite::initWithSpriteFrameName_1 @ 0x100215e18
// > cocos2d::extension::CCScale9Sprite::initWithSpriteFrameName @ 0x100215e6c
// > cocos2d::extension::CCScale9Sprite::setCapInsets @ 0x100215f14
// > cocos2d::extension::CCScale9Sprite::setCapInsets @ 0x100215f24
// > cocos2d::extension::CCScale9Sprite::getCapInsets @ 0x100215f78
// > cocos2d::extension::CCScale9Sprite::updateCapInset @ 0x100216058
// > cocos2d::extension::CCScale9Sprite::setSpriteFrame @ 0x100216250
// > cocos2d::extension::CCScale9Sprite::setSpriteFrame @ 0x100216264
// > PlayerObject::postCollision @ 0x10021ee48
// > PlayerObject::postCollision @ 0x10021ef04
// > PlayerObject::postCollision @ 0x10021efd0
// > PlayerObject::postCollision @ 0x10021f018
// > PlayerObject::postCollision @ 0x10021f03c
// > PlayerObject::postCollision @ 0x10021f21c
// > PlayerObject::postCollision @ 0x10021f5a8
// > PlayerObject::postCollision @ 0x10021f5c4
// > PlayerObject::postCollision @ 0x10021f5d0
// > PlayerObject::postCollision @ 0x10021f71c
// > PlayerObject::postCollision @ 0x10021fa7c
// > PlayerObject::postCollision @ 0x10021fac4
// > PlayerObject::postCollision @ 0x10021fae8
// > PlayerObject::collidedWithObject @ 0x1002201e0
// > PlayerObject::collidedWithObject @ 0x1002201ec
// > PlayerObject::collidedWithObject @ 0x10022021c
// > PlayerObject::collidedWithSlope @ 0x100220290
// > PlayerObject::testForMoving @ 0x1002203b0
// > PlayerObject::handleRotatedCollisionInternal @ 0x1002204a4
// > PlayerObject::collidedWithSlopeInternal @ 0x100220764
// > PlayerObject::collidedWithSlopeInternal @ 0x100220780
// > PlayerObject::collidedWithObjectInternal @ 0x10022189c
// > PlayerObject::collidedWithObjectInternal @ 0x1002218c0
// > PlayerObject::collidedWithObjectInternal @ 0x100221dec
// > PlayerObject::preSlopeCollision @ 0x1002232d4
// > PlayerObject::preSlopeCollision @ 0x1002232f0
// > PlayerObject::preSlopeCollision @ 0x100223498
// > PlayerObject::preSlopeCollision @ 0x100223558
// > PlayerObject::collidedWithObject_1 @ 0x100224488
// > PlayerObject::spiderTestJumpInternal @ 0x100224b54
// > PlayerObject::spiderTestJumpInternal @ 0x100224b60
// > PlayerObject::spiderTestJumpInternal @ 0x100224cec
// > PlayerObject::spiderTestJumpInternal @ 0x100224d20
// > PlayerObject::spiderTestJumpInternal @ 0x100224dc0
// > PlayerObject::spiderTestJumpInternal @ 0x100224de4
// > PlayerObject::spiderTestJumpInternal @ 0x100224e70
// > PlayerObject::spiderTestJumpInternal @ 0x100224f00
// > PlayerObject::spiderTestJumpInternal @ 0x1002251fc
// > SetupCollisionTriggerPopup::init @ 0x10022f9d0
// > cocos2d::CCSprite::initWithTexture_2 @ 0x1002379cc
// > cocos2d::CCSprite::initWithFile_1 @ 0x100237a60
// > cocos2d::CCSprite::isFrameDisplayed @ 0x10023961c
// > SetupCameraEdgePopup::init @ 0x10023a118
// > LevelListLayer::init @ 0x100243720
// > ShareListLayer::init @ 0x1002482d8
// > SetupTouchTogglePopup::init @ 0x10024b37c
// > GameObject::getSlopeAngle @ 0x10025d1f0
// > GameObject::getScalePosDelta @ 0x10025d28c
// > GameObject::slopeYPos @ 0x1002617b8
// > ShaderLayer::visit @ 0x100273308
// > ShareLevelLayer::init @ 0x1002752b0
// > SetupEndPopup::init @ 0x1002ad3cc
// > ParticlePreviewLayer::visit @ 0x1002d1514
// > GJAccountSettingsLayer::init @ 0x1002d62c0
// > FriendRequestPopup::init @ 0x1002d905c
// > GJMessagePopup::init @ 0x1002da820
// > GJWriteMessagePopup::init @ 0x1002dc418
// > SetIDPopup::init @ 0x1002de040
// > SetTextPopup::init @ 0x1002dfad0
// > SetupMGTrigger::init @ 0x1002f1ca4
// > SetupMGTrigger::init @ 0x1002f2484
// > TableView::create @ 0x1002fe6fc
// > TableView::TableView @ 0x1002fe78c
// > CCScrollLayerExt::visit @ 0x1003017f0
// > SecretLayer2::init @ 0x100309c50
// > InfoLayer::init @ 0x10035009c
// > SecretLayer4::init @ 0x100354314
// > LevelEditorLayer::rotationForSlopeNearObject @ 0x10035a78c
// > LevelEditorLayer::objectsInRect @ 0x10035a900
// > LevelEditorLayer::getObjectRect @ 0x10035af58
// > sub_100366FC4 @ 0x100367024
// > sub_100366FC4 @ 0x100367284
// > sub_100366FC4 @ 0x100367490
// > LevelEditorLayer::updateDebugDraw @ 0x100367e04
// > LevelEditorLayer::updateDebugDraw @ 0x100368688
// > ForceBlockGameObject::calculateForceToTarget @ 0x100396dd8
// > MenuGameLayer::init @ 0x10039a6b0
// > SetupShakePopup::init @ 0x1003a951c
// > SetupPulsePopup::init @ 0x1003b35b0
// > SetupPulsePopup::init @ 0x1003b393c
// > SetupPulsePopup::init @ 0x1003b3c94
// > SetupPulsePopup::init @ 0x1003b4210
// > SetupPulsePopup::init @ 0x1003b535c
// > SetupPulsePopup::init @ 0x1003b5704
// > SecretLayer::init @ 0x1003bd7e8
// > SetupAnimationPopup::init @ 0x1003c38c4
// > EditorUI::selectObjectsInRect @ 0x1003ede7c
// > EditorUI::addObjectsToSmartTemplate @ 0x1003f0ef8
// > EditorUI::getSmartNeighbor @ 0x1003f16a8
// > EditorUI::createSmartObjectsFromTemplate @ 0x1003f1828
// > EditorUI::ccTouchEnded @ 0x1003f95b8
// > ColorSelectPopup::init @ 0x10041c7c8
// > ColorSelectPopup::init @ 0x10041d758
// > ColorSelectPopup::init @ 0x10041dc8c
// > ColorSelectPopup::init @ 0x10041e2b0
//
// 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_100022B98(_QWORD *a1, __int64 a2)
{
double result; // d0
int8x8_t v3; // d1
*a1 = 0;
a1[1] = 0;
result = *(double *)a2;
v3 = vbic_s8(*(int8x8_t *)(a2 + 8), (int8x8_t)vcltz_f32(*(float32x2_t *)(a2 + 8)));
*a1 = *(_QWORD *)a2;
a1[1] = v3;
return result;
}