//
// cocos2d::CCNode::convertToWorldSpace from 0xacd540 to 0xacd5b8 (120 bytes)
//
// 131 xrefs:
// > CCScrollLayerExt::preVisitWithClippingRect @ 0x5794c8
// > FLAlertLayer::init @ 0x57ec38
// > GameToolbox::preVisitWithClippingRect @ 0x57fe9c
// > GameToolbox::addBackButton @ 0x580b7c
// > CCTextInputNode::updateBlinkLabelToChar @ 0x5a3314
// > CCTextInputNode::updateBlinkLabelToChar @ 0x5a333c
// > CCTextInputNode::updateCursorPosition @ 0x5a5188
// > CCTextInputNode::updateCursorPosition @ 0x5a5470
// > CCTextInputNode::ccTouchBegan @ 0x5a563c
// > GhostTrailEffect::trailSnapshot @ 0x5a5bac
// > GhostTrailEffect::trailSnapshot @ 0x5a5bc0
// > ScrollingLayer::getViewRect @ 0x5a9840
// > MenuLayer::init @ 0x5c3b38
// > MenuLayer::init @ 0x5c3bdc
// > MenuLayer::init @ 0x5c3ca0
// > MenuLayer::init @ 0x5c3d64
// > MenuLayer::init @ 0x5c4098
// > MenuLayer::init @ 0x5c4120
// > PlayLayer::showNewBest @ 0x5cafac
// > PlayLayer::addObject @ 0x5ccbac
// > CommentCell::loadFromComment @ 0x617444
// > CommentCell::loadFromComment @ 0x617700
// > CommentCell::loadFromComment @ 0x61797c
// > CommentCell::loadFromComment @ 0x617c08
// > PlayerObject::setPosition @ 0x6247d4
// > PlayerObject::setPosition @ 0x624908
// > PlayerObject::setPosition @ 0x6249f4
// > PlayerObject::setPosition @ 0x624a80
// > PlayerObject::setPosition @ 0x624b0c
// > PlayerObject::setPosition @ 0x624e18
// > PlayerObject::setPosition @ 0x625154
// > GameObject::setPosition @ 0x640cd4
// > GameObject::setPosition @ 0x640ce8
// > GameObject::getBoxOffset @ 0x647df8
// > GameObject::getBoxOffset @ 0x647e08
// > LevelEditorLayer::getObjectRect @ 0x65d490
// > LevelEditorLayer::breakApartTextObject @ 0x6722bc
// > EditorUI::constrainGameLayerPosition @ 0x68f2f8
// > EditorUI::constrainGameLayerPosition @ 0x68f370
// > EditorUI::getXMin @ 0x68f6cc
// > EditorUI::getTouchPoint @ 0x6904d0
// > EditorUI::updateZoom @ 0x6960c0
// > EditorUI::checkDiffAfterTransformAnchor @ 0x6b7798
// > GJTransformControl::updateButtons @ 0x6b86dc
// > GJTransformControl::updateButtons @ 0x6b8708
// > GJTransformControl::updateButtons @ 0x6b8730
// > GJTransformControl::updateButtons @ 0x6b8760
// > GJTransformControl::updateButtons @ 0x6b878c
// > GJTransformControl::updateButtons @ 0x6b8e24
// > GJTransformControl::refreshControl @ 0x6b922c
// > GJTransformControl::ccTouchEnded @ 0x6b9c28
// > EditorUI::findAndSelectObject @ 0x6be600
// > PauseLayer::customSetup @ 0x6c812c
// > PauseLayer::customSetup @ 0x6c81c8
// > PauseLayer::customSetup @ 0x6c8284
// > ShareLevelLayer::setupStars @ 0x6e3f40
// > ShareLevelLayer::init @ 0x6e4bbc
// > CustomSongWidget::updateSongInfo @ 0x744908
// > CustomSongWidget::updateSongInfo @ 0x744ea4
// > ParticleGameObject::updateParticleAngle @ 0x754f6c
// > ParticleGameObject::updateParticleAngle @ 0x754f84
// > TeleportPortalObject::getTeleportXOff @ 0x760f40
// > TeleportPortalObject::getTeleportXOff @ 0x760f74
// > GJGarageLayer::onSelect @ 0x792ab4
// > GJGarageLayer::setupSpecialPage @ 0x797048
// > GJGarageLayer::setupSpecialPage @ 0x797148
// > GJGarageLayer::setupSpecialPage @ 0x797204
// > GJGarageLayer::setupPage @ 0x797664
// > EndLevelLayer::customSetup @ 0x7d5f30
// > EndLevelLayer::customSetup @ 0x7d60f8
// > EndLevelLayer::customSetup @ 0x7d689c
// > EndLevelLayer::customSetup @ 0x7d694c
// > EndLevelLayer::customSetup @ 0x7d6a78
// > EndLevelLayer::customSetup @ 0x7d6fe8
// > ShareCommentLayer::init @ 0x7e72cc
// > ShareCommentLayer::init @ 0x7e73d8
// > ShareCommentLayer::init @ 0x7e7798
// > PromoInterstitial::setup @ 0x7eb290
// > PromoInterstitial::setup @ 0x7eb2fc
// > RetryLevelLayer::customSetup @ 0x7ee230
// > RetryLevelLayer::customSetup @ 0x7ee430
// > RetryLevelLayer::customSetup @ 0x7ee4d8
// > CustomizeObjectLayer::init @ 0x8420ac
// > AccountLayer::customSetup @ 0x84bac4
// > AccountHelpLayer::customSetup @ 0x84d430
// > GJSpecialColorSelect::init @ 0x8e6e58
// > ProfilePage::loadPageFromUserInfo @ 0x8fa7b4
// > ProfilePage::loadPageFromUserInfo @ 0x8fa8a0
// > ProfilePage::loadPageFromUserInfo @ 0x8fa9e0
// > ProfilePage::loadPageFromUserInfo @ 0x8faddc
// > ProfilePage::loadPageFromUserInfo @ 0x8fb340
// > ProfilePage::loadPageFromUserInfo @ 0x8fb5c0
// > ProfilePage::loadPageFromUserInfo @ 0x8fbdc0
// > ProfilePage::loadPageFromUserInfo @ 0x8fbebc
// > ColorSelectLiveOverlay::init @ 0x90bfe8
// > CurrencyRewardLayer::init @ 0x910b74
// > CurrencyRewardLayer::init @ 0x910ff0
// > CurrencyRewardLayer::init @ 0x911468
// > CurrencyRewardLayer::init @ 0x9118dc
// > CurrencyRewardLayer::init @ 0x911d28
// > CurrencyRewardLayer::init @ 0x911ff8
// > GauntletSelectLayer::unlockAnimationStep2 @ 0x918538
// > GauntletSelectLayer::unlockAnimationStep3 @ 0x9189b4
// > GauntletSelectLayer::unlockAnimationStep3 @ 0x918b14
// > GauntletSelectLayer::playUnlockAnimation @ 0x918f94
// > GauntletSelectLayer::setupGauntlets @ 0x91c384
// > LevelLeaderboard::init @ 0x932a6c
// > LevelLeaderboard::init @ 0x9332e0
// > RewardsPage::init @ 0x9359d0
// > RewardsPage::init @ 0x935b10
// > DungeonBarsSprite::visit @ 0x93aac8
// > SecretLayer3::onClick @ 0x93e93c
// > ShardsPage::init @ 0x95cf04
// > CreateParticlePopup::onSelectParticleTexture @ 0x9c31a8
// > ParticlePreviewLayer::preVisitWithClippingRect @ 0x9c9910
// > GJSmartBlockPreviewSprite::visit @ 0x9d03d4
// > ShaderLayer::objectPosToShaderPos @ 0x9f3568
// > HSVLiveOverlay::init @ 0xa240c0
// > CharacterColorPage::updateColorMode @ 0xa248f8
// > CharacterColorPage::onPlayerColor @ 0xa256b4
// > GJPathPage::init @ 0xa6fee4
// > cocos2d::extension::CCScrollView::setZoomScale @ 0xaa58cc
// > cocos2d::extension::CCScrollView::setZoomScale @ 0xaa5970
// > cocos2d::extension::CCScrollView::getViewRect @ 0xaa60d0
// > cocos2d::extension::CCScrollView::ccTouchBegan @ 0xaa6578
// > cocos2d::extension::CCScrollView::ccTouchMoved @ 0xaa691c
// > cocos2d::extension::CCTableView::ccTouchEnded @ 0xaa8c28
// > cocos2d::CCNode::convertToWorldSpaceAR @ 0xacd66c
// > cocos2d::CCNode::convertToWindowSpace @ 0xacd6c4
// > cocos2d::CCParticleSystem::calculateWorldSpace @ 0xafdb18
// > ??> @ 0x86970
//
// 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 cocos2d::CCNode::convertToWorldSpace(cocos2d::CCNode *a1, const cocos2d::CCPoint *a2)
{
cocos2d::CCAffineTransform v5; // [xsp+40h] [xbp+40h] BYREF
cocos2d::CCPoint v6; // 0:kr00_8.8
cocos2d::CCPoint result; // 0:s0.4,4:s1.4
((void (__fastcall *)(cocos2d::CCAffineTransform *__return_ptr))a1->nodeToWorldTransform)(&v5);
v6 = cocos2d::__CCPointApplyAffineTransform(a2, &v5);
result.x = v6.x;
result.y = v6.y;
return result;
}