// // GJRotationControl::setAngle from 0x1401a28e0 to 0x1401a29a1 (193 bytes) // // 4 xrefs: // > GJRotationControl::init @ 0x1401a2592 // > GJRotationControl::onApplyAngle @ 0x1401a27d2 // > EditorUI::activateRotationControl @ 0x1402026f5 // > @ 0x140919928 // // 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:27:48 +0000 // void __fastcall GJRotationControl::setAngle(__int64 a1, float a2) { float v3; // xmm8_4 float v4; // xmm7_4 float v5; // xmm0_4 __int64 v6; // rax char v7; // [rsp+50h] [rbp+8h] BYREF *(float *)(a1 + 432) = a2; *(float *)(a1 + 436) = a2; v3 = (float)-a2 * 0.017453292; v4 = sinf(v3) * 60.0; v5 = cosf(v3) * 60.0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v7, v5, v4); cocos2d::CCPoint::operator=(a1 + 416, v6); (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 424) + 184LL))(*(_QWORD *)(a1 + 424), a1 + 416); GJRotationControl::updateAngleInput(a1, *(float *)(a1 + 436)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source