// // TeleportPortalObject::setStartPos from 0x4e89a4 to 0x4e8a38 (148 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:51:07 +0000 // int __fastcall TeleportPortalObject::setStartPos(_DWORD *a1, const cocos2d::CCPoint *a2) { int result; // r0 float v4; // s16 int TeleportXOff; // r0 int v6; // r4 float v7; // s15 int v8; // r0 float v9; // r2 float v10; // r3 _DWORD v11[2]; // [sp+4h] [bp+0h] BYREF float v12[2]; // [sp+Ch] [bp+8h] BYREF cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v11, a2); if ( *((_BYTE *)a1 + 1656) ) { (*(void (__fastcall **)(float *, _DWORD *))(*a1 + 908))(v12, a1); *(float *)v11 = v12[0]; } cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, (const cocos2d::CCPoint *)v11); result = GameObject::setStartPos((int)a1, v12); if ( a1[413] ) { v4 = *(float *)v11; TeleportXOff = TeleportPortalObject::getTeleportXOff((TeleportPortalObject *)a1, nullptr); v6 = a1[413]; v7 = *(float *)&TeleportXOff; v8 = (*(int (__fastcall **)(int))(*(_DWORD *)v6 + 96))(v6); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v12, v4 + v7, *(float *)(v8 + 4)); return TeleportPortalObject::setStartPosOverride(v6, (const cocos2d::CCPoint *)v12, v9, v10); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source