//
// sub_100022BB0 from 0x100022bb0 to 0x100022bc4 (20 bytes)
//
// 57 xrefs:
// > cocos2d::CCDrawNode::enableDrawArea @ 0x100042118
// > GJUINode::updateSize @ 0x10004ac04
// > BoomScrollLayer::init @ 0x10012b190
// > GJShopLayer::init @ 0x10014b7cc
// > GJPFollowCommandLayer::init @ 0x10015f8ac
// > GJPFollowCommandLayer::init @ 0x10015fb10
// > cocos2d::CCRectFromString @ 0x1001a63e8
// > GJBaseGameLayer::updateDebugDraw @ 0x1001e4f74
// > GJBaseGameLayer::checkCollisions @ 0x1001e7d0c
// > GJBaseGameLayer::checkCollisions @ 0x1001e7d7c
// > GJBaseGameLayer::collisionCheckObjects @ 0x1001e813c
// > GJBaseGameLayer::collisionCheckObjects @ 0x1001e8274
// > GJBaseGameLayer::collisionCheckObjects @ 0x1001e8b0c
// > GJBaseGameLayer::visit @ 0x1002082d8
// > GJBaseGameLayer::visit @ 0x1002083b4
// > GJBaseGameLayer::visit @ 0x100208cac
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1002149ac
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x100214a04
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x100214a10
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x100214a34
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x100214a74
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x100214c68
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x100214c84
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x100214ca0
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x100214cbc
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x100214cd8
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x100214cf4
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x100214d10
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x100214d2c
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x100214d48
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x100215114
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x100215130
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x10021514c
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x100215168
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x100215184
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1002151a0
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1002151bc
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1002151d8
// > cocos2d::extension::CCScale9Sprite::updateWithBatchNode @ 0x1002151f4
// > cocos2d::extension::CCScale9Sprite::updateCapInset @ 0x10021604c
// > PlayerObject::preSlopeCollision @ 0x100223514
// > PlayerObject::preSlopeCollision @ 0x1002235a0
// > cocos2d::CCSprite::setVertexRect @ 0x100237fa8
// > cocos2d::CCSpriteFrame::initWithTexture @ 0x10024e0d4
// > cocos2d::CCSpriteFrame::initWithTexture @ 0x10024e134
// > cocos2d::CCSpriteFrame::initWithTextureFilename @ 0x10024e230
// > cocos2d::CCSpriteFrame::initWithTextureFilename @ 0x10024e290
// > cocos2d::CCParticleSystemQuad::initTexCoordsWithRect @ 0x100253810
// > GameObject::getObjectRect2 @ 0x10025ae68
// > GameObject::getObjectTextureRect @ 0x10025aecc
// > SecretRewardsLayer::init @ 0x1002e966c
// > SecretRewardsLayer::createSecondaryLayer @ 0x1002eace4
// > cocos2d::CCLabelBMFont::createFontChars @ 0x1002fba60
// > cocos2d::CCLabelBMFont::createFontChars @ 0x1002fba7c
// > cocos2d::CCLabelBMFont::createFontChars @ 0x1002fbadc
// > -[EAGLView onUIKeyboardNotification:] @ 0x10041be6c
// > -[EAGLView onUIKeyboardNotification:] @ 0x10041be90
//
// 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_100022BB0(_QWORD *a1, __int64 a2)
{
double result; // d0
int8x8_t v3; // d1
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;
}