// // GJRotationControl::updateSliderPosition from 0xbcf100 to 0xbcf228 (296 bytes) // // 2 xrefs: // > GJRotationControl::ccTouchMoved @ 0xbcf300 // > @ 0xb9980 // // This function is hookable on this platform (idp: arm, 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 13:03:36 +0000 // __int64 __fastcall GJRotationControl::updateSliderPosition(__int64 a1, float *a2) { __int64 v3; // x22 float v4; // s8 float v5; // s9 float v6; // s0 long double v7; // q0 const char *v8; // x1 float v9; // s9 float v10; // s8 void (__fastcall ***v12)(_QWORD, _QWORD, float); // x0 _BYTE v13[8]; // [xsp+50h] [xbp+50h] BYREF v3 = a1 + 412; v4 = atan2f(a2[1] - *(float *)(a1 + 408), *a2 - *(float *)(a1 + 404)); v5 = cosf(v4); v6 = sinf(v4); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v13, (float)(v5 * 60.0) + 0.0, (float)(v6 * 60.0) + 0.0); *(__n128 *)&v7 = cocos2d::CCPoint::operator=(v3, v13); (*(void (__fastcall **)(_QWORD, __int64, long double))(**(_QWORD **)(a1 + 424) + 184LL))( *(_QWORD *)(a1 + 424), v3, v7); v9 = *(float *)(a1 + 436); v10 = roundf((float)-(float)(v4 * 57.296) * 1000.0) / 1000.0; if ( v9 != v10 ) { *(float *)(a1 + 436) = v10; GJRotationControl::updateAngleInput((GJRotationControl *)a1, v10, v8); v12 = *(void (__fastcall ****)(_QWORD, _QWORD, float))(a1 + 512); if ( v12 ) (**v12)(v12, *(unsigned __int8 *)(a1 + 456), *(float *)(a1 + 436) - v9); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source