// // GJBaseGameLayer::moveAreaObject from 0x14022aab0 to 0x14022ab91 (225 bytes) // // 5 xrefs: // > GJBaseGameLayer::transformAreaObjects @ 0x140229a9a // > GJBaseGameLayer::rotateAreaObjects @ 0x14022a3e5 // > GJBaseGameLayer::processAreaMoveGroupAction @ 0x14022a904 // > GJBaseGameLayer::processAreaMoveGroupAction @ 0x14022a9ab // > @ 0x1406cdb3c // // 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 GJBaseGameLayer::moveAreaObject(GJBaseGameLayer *a1, GameObject *a2, float a3, float a4) { bool v6; // al bool v7; // zf double v8; // xmm0_8 v6 = GJBaseGameLayer::resetAreaObjectValues(a1, a2, 1); if ( a3 == 0.0 ) { v7 = a4 == 0.0; if ( a4 == 0.0 ) { if ( !v6 ) return; goto LABEL_11; } } else { v7 = a4 == 0.0; } if ( !v7 ) { v8 = a4 + a2->m_positionY; a2->m_positionYOffset = a4 + a2->m_positionYOffset; a2->m_positionY = v8; } *(_WORD *)&a2->m_isObjectPosDirty = 257; *(_WORD *)&a2->m_isObjectRectDirty = 257; if ( a3 != 0.0 && !a2->m_tempOffsetXRelated ) { a2->m_positionXOffset = a3 + a2->m_positionXOffset; a2->m_positionX = a3 + a2->m_positionX; } LABEL_11: a1->updateObjectSection(a1, a2); }