//
// cocos2d::CCNode::convertToWorldSpace from 0x100274c70 to 0x100274caf (63 bytes)
//
// 143 xrefs:
// > EditorUI::constrainGameLayerPosition @ 0x10002a9e1
// > EditorUI::constrainGameLayerPosition @ 0x10002aa88
// > EditorUI::getXMin @ 0x10002f070
// > EditorUI::findAndSelectObject @ 0x10003350f
// > EditorUI::updateZoom @ 0x10003da73
// > EditorUI::checkDiffAfterTransformAnchor @ 0x100041201
// > GJTransformControl::refreshControl @ 0x10004a682
// > GJTransformControl::updateButtons @ 0x10004ae74
// > GJTransformControl::updateButtons @ 0x10004aeb0
// > GJTransformControl::updateButtons @ 0x10004aee7
// > GJTransformControl::updateButtons @ 0x10004af1e
// > GJTransformControl::updateButtons @ 0x10004af55
// > GJTransformControl::updateButtons @ 0x10004b752
// > EditorUI::getTouchPoint @ 0x10004ed13
// > EditorUI::ccTouchBegan @ 0x10004efd6
// > EditorUI::ccTouchMoved @ 0x10004f5b4
// > EditorUI::ccTouchEnded @ 0x10004fb6a
// > GJTransformControl::ccTouchEnded @ 0x1000540a7
// > CCTextInputNode::updateBlinkLabelToChar @ 0x10009efd2
// > CCTextInputNode::updateBlinkLabelToChar @ 0x10009efff
// > CCTextInputNode::updateCursorPosition @ 0x1000a08ec
// > CCTextInputNode::updateCursorPosition @ 0x1000a0c1d
// > CCTextInputNode::ccTouchBegan @ 0x1000a0e17
// > PlayLayer::addObject @ 0x1000b2259
// > PlayLayer::showNewBest @ 0x1000b5b6b
// > AccountLayer::customSetup @ 0x1000cc145
// > AccountHelpLayer::customSetup @ 0x1000ce6ae
// > LevelEditorLayer::getObjectRect @ 0x1000e17f9
// > LevelEditorLayer::breakApartTextObject @ 0x1000f183c
// > ParticleGameObject::updateParticleAngle @ 0x1001b20d1
// > ParticleGameObject::updateParticleAngle @ 0x1001b20e3
// > TeleportPortalObject::getTeleportXOff @ 0x1001bde66
// > TeleportPortalObject::getTeleportXOff @ 0x1001bde91
// > CustomizeObjectLayer::init @ 0x1001f5498
// > RewardsPage::init @ 0x10021abca
// > RewardsPage::init @ 0x10021ad49
// > CommentCell::loadFromComment @ 0x100248137
// > CommentCell::loadFromComment @ 0x100248b2c
// > CommentCell::loadFromComment @ 0x100248c7a
// > CommentCell::loadFromComment @ 0x100249026
// > HSVLiveOverlay::init @ 0x10026ac9d
// > ShareLevelLayer::init @ 0x100280cbf
// > ShareLevelLayer::setupStars @ 0x100281007
// > PromoInterstitial::setup @ 0x1002d4735
// > PromoInterstitial::setup @ 0x1002d47c2
// > GJPathPage::init @ 0x100300155
// > GJGarageLayer::setupPage @ 0x10036cfd2
// > GJGarageLayer::setupSpecialPage @ 0x10036d51f
// > GJGarageLayer::setupSpecialPage @ 0x10036d66d
// > GJGarageLayer::setupSpecialPage @ 0x10036d732
// > GJGarageLayer::onSelect @ 0x10036e2bb
// > MenuLayer::init @ 0x1003903ef
// > MenuLayer::init @ 0x1003904fd
// > MenuLayer::init @ 0x100390c88
// > MenuLayer::init @ 0x100390d27
// > MenuLayer::init @ 0x100390de5
// > MenuLayer::init @ 0x100390ea6
// > ShaderLayer::objectPosToShaderPos @ 0x1003cc2fa
// > ShaderLayer::updateEffectOffsets @ 0x1003cc562
// > ShaderLayer::updateEffectOffsets @ 0x1003cc8bd
// > ShaderLayer::updateEffectOffsets @ 0x1003ccbc0
// > ShaderLayer::updateEffectOffsets @ 0x1003ccdf1
// > ShaderLayer::updateEffectOffsets @ 0x1003cd12d
// > ShaderLayer::updateEffectOffsets @ 0x1003cd416
// > ShaderLayer::updateEffectOffsets @ 0x1003cd603
// > PauseLayer::customSetup @ 0x1003d6631
// > PauseLayer::customSetup @ 0x1003d66c6
// > PauseLayer::customSetup @ 0x1003d677f
// > LevelLeaderboard::init @ 0x1003da702
// > LevelLeaderboard::init @ 0x1003da881
// > cocos2d::extension::CCScrollView::setZoomScale_1 @ 0x1003f7c40
// > cocos2d::extension::CCScrollView::setZoomScale_1 @ 0x1003f7cb8
// > cocos2d::extension::CCScrollView::getViewRect @ 0x1003f887e
// > cocos2d::extension::CCScrollView::ccTouchBegan @ 0x1003f8bcc
// > cocos2d::extension::CCScrollView::ccTouchMoved @ 0x1003f908f
// > PlayerObject::setPosition @ 0x10041928d
// > PlayerObject::setPosition @ 0x100419341
// > PlayerObject::setPosition @ 0x10041946d
// > PlayerObject::setPosition @ 0x100419552
// > PlayerObject::setPosition @ 0x1004195cf
// > PlayerObject::setPosition @ 0x10041964c
// > PlayerObject::setPosition @ 0x100419b4b
// > PlayerObject::setPosition @ 0x100419cb1
// > GJSmartBlockPreviewSprite::visit @ 0x1004298a2
// > cocos2d::extension::CCTableView::ccTouchEnded @ 0x10042da59
// > CCScrollLayerExt::preVisitWithClippingRect @ 0x10042f33c
// > CreateParticlePopup::onSelectParticleTexture @ 0x100474b33
// > ParticlePreviewLayer::preVisitWithClippingRect @ 0x100477831
// > FLAlertLayer::init @ 0x10049bdb6
// > SecretLayer3::onClick @ 0x1004a4f6b
// > DungeonBarsSprite::visit @ 0x1004a8682
// > EndLevelLayer::customSetup @ 0x1004c0ee1
// > EndLevelLayer::customSetup @ 0x1004c10ca
// > EndLevelLayer::customSetup @ 0x1004c119a
// > EndLevelLayer::customSetup @ 0x1004c127f
// > EndLevelLayer::customSetup @ 0x1004c1803
// > EndLevelLayer::customSetup @ 0x1004c18b3
// > ShardsPage::init @ 0x1004c6bd2
// > GameToolbox::preVisitWithClippingRect @ 0x1004eec06
// > GameToolbox::addBackButton @ 0x1004ef82b
// > RetryLevelLayer::customSetup @ 0x1004f89cf
// > RetryLevelLayer::customSetup @ 0x1004f8b3d
// > RetryLevelLayer::customSetup @ 0x1004f8be4
// > ColorSelectLiveOverlay::init @ 0x100569718
// > GauntletSelectLayer::setupGauntlets @ 0x1005723ed
// > GauntletSelectLayer::playUnlockAnimation @ 0x1005734a9
// > GauntletSelectLayer::unlockAnimationStep2 @ 0x100573a94
// > GauntletSelectLayer::unlockAnimationStep3 @ 0x100573d35
// > GauntletSelectLayer::unlockAnimationStep3 @ 0x100573eaf
// > GameObject::getBoxOffset @ 0x1005bb7f3
// > GameObject::getBoxOffset @ 0x1005bb806
// > GameObject::setPosition @ 0x1005bbd0f
// > GameObject::setPosition @ 0x1005bbd22
// > ShareCommentLayer::init @ 0x1005dffa4
// > ShareCommentLayer::init @ 0x1005e009b
// > ShareCommentLayer::init @ 0x1005e02a6
// > GhostTrailEffect::trailSnapshot @ 0x1005f9d49
// > GhostTrailEffect::trailSnapshot @ 0x1005f9d63
// > CustomSongWidget::updateSongInfo @ 0x10061dff0
// > CustomSongWidget::updateSongInfo @ 0x10061e269
// > GJSpecialColorSelect::init @ 0x1006263cb
// > CharacterColorPage::updateColorMode @ 0x10065e0af
// > CharacterColorPage::onPlayerColor @ 0x10065e6da
// > ScrollingLayer::getViewRect @ 0x10072081c
// > ScrollingLayer::visit @ 0x1007209de
// > ScrollingLayer::ccTouchBegan @ 0x100720b44
// > CurrencyRewardLayer::init @ 0x1007a62d9
// > CurrencyRewardLayer::init @ 0x1007a66ea
// > CurrencyRewardLayer::init @ 0x1007a6afb
// > CurrencyRewardLayer::init @ 0x1007a6f06
// > CurrencyRewardLayer::init @ 0x1007a72e5
// > CurrencyRewardLayer::init @ 0x1007a7597
// > ProfilePage::loadPageFromUserInfo @ 0x1007ba5bd
// > ProfilePage::loadPageFromUserInfo @ 0x1007bac91
// > ProfilePage::loadPageFromUserInfo @ 0x1007bb73d
// > ProfilePage::loadPageFromUserInfo @ 0x1007bbd69
// > ProfilePage::loadPageFromUserInfo @ 0x1007bbf21
// > ProfilePage::loadPageFromUserInfo @ 0x1007bc03a
// > ProfilePage::loadPageFromUserInfo @ 0x1007bc19f
// > ProfilePage::loadPageFromUserInfo @ 0x1007bc635
// > cocos2d::CCParticleSystem::initParticle @ 0x1007c95ce
// > cocos2d::CCParticleSystem::calculateWorldSpace @ 0x1007c9d8f
// > cocos2d::CCParticleSystem::update @ 0x1007ca164
//
// 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
//
cocos2d::CCPoint __fastcall cocos2d::CCNode::convertToWorldSpace(cocos2d::CCNode *a1, const cocos2d::CCPoint *a2)
{
const cocos2d::CCAffineTransform *v2; // rdx
const cocos2d::CCAffineTransform *v3; // rbx
_BYTE v4[48]; // [rsp+0h] [rbp-30h] BYREF
v3 = v2;
(*(void (__fastcall **)(_BYTE *))(*(_QWORD *)a2 + 808LL))(v4);
return cocos2d::__CCPointApplyAffineTransform((const cocos2d::CCPoint *)a1, v3);
}