// // TeleportPortalObject::setPosition from 0x879da4 to 0x879e8c (232 bytes) // // 2 xrefs: // > @ 0x54118 // > @ 0x144bdb8 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:55:51 +0000 // __int64 __fastcall TeleportPortalObject::setPosition(TeleportPortalObject *this, const cocos2d::CCPoint *a2) { float v3; // s8 cocos2d::CCArray **v4; // x19 float v5; // s0 __int64 v6; // x0 float v8; // [xsp+30h] [xbp+30h] float v9; // [xsp+58h] [xbp+58h] BYREF _BYTE v10[8]; // [xsp+60h] [xbp+60h] BYREF cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v9, a2); if ( *((_BYTE *)this + 1856) ) v9 = *(float *)(*(__int64 (__fastcall **)(TeleportPortalObject *))(*(_QWORD *)this + 192LL))(this); GameObject::setPosition((cocos2d::CCArray **)this, (const cocos2d::CCPoint *)&v9); if ( *((_QWORD *)this + 231) ) { v3 = v9; TeleportPortalObject::getTeleportXOff(this, nullptr); v4 = *((cocos2d::CCArray ***)this + 231); v8 = v3 + v5; v6 = (*((__int64 (__fastcall **)(cocos2d::CCArray **))*v4 + 24))(v4); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, v8, *(float *)(v6 + 4)); TeleportPortalObject::setPositionOverride(v4, (const cocos2d::CCPoint *)v10); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source