// // GameObject::updateStartPos from 0x14028d7a0 to 0x14028d876 (214 bytes) // // 12 xrefs: // > GJTransformControl::loadValues @ 0x1401a5f91 // > EditorUI::findSnapObject_1 @ 0x1401bf5a1 // > EditorUI::flipObjectsX @ 0x1401fff81 // > EditorUI::flipObjectsY @ 0x140200171 // > EditorUI::getGroupCenter @ 0x1402022ff // > EditorUI::getGroupCenter @ 0x1402023c1 // > EditorUI::resetObjectEditorValues @ 0x140203861 // > GameObject::updateStartValues @ 0x14028dba3 // > LevelEditorLayer::rotationForSlopeNearObject @ 0x1403f106e // > LevelEditorLayer::updateVisibility @ 0x1403f66de // > RotateGameplayGameObject::updateStartValues @ 0x140665823 // > @ 0x14091d2b8 // // This function is hookable on this platform (idp: pc, 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 11:29:04 +0000 // double __fastcall GameObject::updateStartPos(__int64 a1) { const struct cocos2d::CCPoint *v2; // rax float v3; // xmm1_4 float v4; // xmm5_4 double v5; // xmm3_8 float v6; // xmm6_4 double v7; // xmm4_8 double result; // xmm0_8 float v9; // xmm2_4 float v10; // [rsp+40h] [rbp+8h] BYREF float v11; // [rsp+44h] [rbp+Ch] v2 = (const struct cocos2d::CCPoint *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 200LL))(a1); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v10, v2); v3 = *(float *)(a1 + 968); v4 = *(float *)(a1 + 972); v5 = *(double *)(a1 + 952) - v3; v6 = v10 - v5; v7 = *(double *)(a1 + 960) - v4; v10 = v6; result = v11 - v7; v9 = result; v11 = v9; if ( v3 != v6 || v4 != v9 ) { *(_WORD *)(a1 + 872) = 257; *(_BYTE *)(a1 + 848) = 1; *(double *)(a1 + 952) = v6 + v5; *(double *)(a1 + 960) = v9 + v7; return cocos2d::CCPoint::operator=(a1 + 968, &v10); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source