// // GameObject::updateStartValues from 0x35433c to 0x354414 (216 bytes) // // 1 xrefs: // > RotateGameplayGameObject::updateStartValues @ 0x3ecd08 // // 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 // void GameObject::updateStartValues(GameObject *a1) { bool v2; // r0 bool (__fastcall *isFlipY)(GameObject *__hidden); // r3 bool v4; // r0 float (__fastcall *getRotationX)(cocos2d::CCNode *__hidden); // r3 float v6; // s16 float v7; // r0 float m_rotationXOffset; // s15 int v9; // r0 float m_scaleYOffset; // s14 GameObject::updateStartPos(a1); v2 = a1->isFlipX(a1); isFlipY = a1->isFlipY; a1->m_startFlipX = v2; v4 = isFlipY(a1); getRotationX = a1->getRotationX; a1->m_startFlipY = v4; v6 = COERCE_FLOAT(((int (__fastcall *)(GameObject *))getRotationX)(a1)); v7 = COERCE_FLOAT(((int (__fastcall *)(GameObject *))a1->getRotationY)(a1)); m_rotationXOffset = a1->m_rotationXOffset; if ( v6 == v7 ) { if ( m_rotationXOffset == 0.0 ) v9 = LODWORD(v6); else v9 = roundf(); LODWORD(a1->m_startRotationX) = v9; goto LABEL_10; } if ( m_rotationXOffset != 0.0 || a1->m_rotationYOffset != 0.0 ) { LODWORD(a1->m_startRotationX) = roundf(); v9 = roundf(); LABEL_10: LODWORD(a1->m_startRotationY) = v9; goto LABEL_11; } a1->m_startRotationX = v6; a1->m_startRotationY = v7; LABEL_11: m_scaleYOffset = a1->m_scaleYOffset; a1->m_startScaleX = a1->m_scaleX - a1->m_scaleXOffset; a1->m_startScaleY = a1->m_scaleY - m_scaleYOffset; }
GD Web Decomp Icon

GD Web Decomp

Raw Source