// // cocos2d::ccpDistance from 0x1001ae920 to 0x1001ae950 (48 bytes) // // 43 xrefs: // > GJEffectManager::createKeyframeCommand @ 0x100011208 // > HardStreak::updateStroke @ 0x10005db98 // > cocos2d::CCMotionStreak::update @ 0x1001772b0 // > GJBaseGameLayer::rectIntersectsCircle @ 0x1001e5840 // > GJBaseGameLayer::rectIntersectsCircle @ 0x1001e5868 // > GJBaseGameLayer::rectIntersectsCircle @ 0x1001e5890 // > GJBaseGameLayer::rectIntersectsCircle @ 0x1001e58b8 // > GJBaseGameLayer::rectIntersectsCircle @ 0x1001e5944 // > GJBaseGameLayer::playerIntersectsCircle @ 0x1001e5ae8 // > GJBaseGameLayer::objectIntersectsCircle @ 0x1001e5bf0 // > GJBaseGameLayer::objectIntersectsCircle @ 0x1001e5c18 // > GJBaseGameLayer::objectIntersectsCircle @ 0x1001e5c40 // > GJBaseGameLayer::objectIntersectsCircle @ 0x1001e5c88 // > GJBaseGameLayer::getAreaObjectValue @ 0x1001f66c0 // > GJBaseGameLayer::getMinDistance @ 0x10020594c // > GJBaseGameLayer::getMinDistance @ 0x100205960 // > PlayerObject::update @ 0x10021986c // > UIOptionsLayer::ccTouchMoved @ 0x1002e467c // > UIPOptionsLayer::ccTouchMoved @ 0x1002e6480 // > CCScrollLayerExt::ccTouchEnded @ 0x1003012e4 // > CurrencyRewardLayer::update @ 0x100321110 // > sub_100366FC4 @ 0x1003670ec // > ForceBlockGameObject::calculateForceToTarget @ 0x100396f20 // > MenuGameLayer::ccTouchBegan @ 0x10039b894 // > EditorUI::addObjectsToSmartTemplate @ 0x1003f10b4 // > EditorUI::addObjectsToSmartTemplate @ 0x1003f10cc // > EditorUI::addObjectsToSmartTemplate @ 0x1003f10e0 // > EditorUI::addObjectsToSmartTemplate @ 0x1003f1168 // > EditorUI::addObjectsToSmartTemplate @ 0x1003f11a4 // > EditorUI::addObjectsToSmartTemplate @ 0x1003f11e0 // > EditorUI::addObjectsToSmartTemplate @ 0x1003f121c // > EditorUI::addObjectsToSmartTemplate @ 0x1003f1258 // > EditorUI::addObjectsToSmartTemplate @ 0x1003f1294 // > EditorUI::addObjectsToSmartTemplate @ 0x1003f12d0 // > EditorUI::addObjectsToSmartTemplate @ 0x1003f130c // > EditorUI::ccTouchMoved @ 0x1003f8cd8 // > EditorUI::ccTouchMoved @ 0x1003f8dec // > EditorUI::ccTouchEnded @ 0x1003f91bc // > EditorUI::ccTouchEnded @ 0x1003f91d4 // > EditorUI::ccTouchEnded @ 0x1003f9480 // > EditorUI::ccTouchEnded @ 0x1003f9504 // > GJRotationControl::ccTouchBegan @ 0x1003faaa8 // > LevelPage::ccTouchBegan @ 0x100405b90 // // 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 // float __fastcall cocos2d::ccpDistance(const cocos2d::CCPoint *a1, const cocos2d::CCPoint *a2) { float32x2_t v3; // [xsp+8h] [xbp-8h] BYREF sub_1000229F0((float32x2_t *)a1, (float32x2_t *)a2, &v3); return sqrtf((float)(v3.f32[1] * v3.f32[1]) + (float)(v3.f32[0] * v3.f32[0])); }
GD Web Decomp Icon

GD Web Decomp

Raw Source