// // TeleportPortalObject::getTeleportXOff from 0x1404b2440 to 0x1404b251c (220 bytes) // // 4 xrefs: // > PlayLayer::addObject @ 0x1403ae13a // > TeleportPortalObject::setStartPos @ 0x1404b2355 // > TeleportPortalObject::setPosition @ 0x1404b2402 // > @ 0x1406dca10 // // 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 TeleportPortalObject::getTeleportXOff(TeleportPortalObject *a1, cocos2d::CCNode *a2) { float v2; // xmm0_4 cocos2d::CCNode *v3; // rbx struct cocos2d::CCPoint v6; // rax struct cocos2d::CCPoint v7; // rax struct cocos2d::CCPoint v8; // [rsp+38h] [rbp+10h] BYREF struct cocos2d::CCPoint v9; // [rsp+40h] [rbp+18h] BYREF struct cocos2d::CCPoint v10; // [rsp+48h] [rbp+20h] BYREF v3 = a2; if ( !a2 ) { v3 = a1->getParent(a1); if ( !v3 ) return -10.0; } cocos2d::CCPoint::CCPoint(v2, -10.0); cocos2d::CCNode::convertToWorldSpace(a1, &v8); v6 = cocos2d::CCNode::convertToNodeSpace(v3, &v10); ((void (__fastcall *)(_QWORD, _QWORD))cocos2d::CCPoint::operator=)(&v8, v6); cocos2d::CCNode::convertToWorldSpace(a1, &v9); v7 = cocos2d::CCNode::convertToNodeSpace(v3, &v10); ((void (__fastcall *)(_QWORD, _QWORD))cocos2d::CCPoint::operator=)(&v9, v7); return -fabs(v8.x - v9.x); }
GD Web Decomp Icon

GD Web Decomp

Raw Source