// // GJRotationControl::updateSliderPosition from 0x6edde8 to 0x6edee0 (248 bytes) // // 1 xrefs: // > GJRotationControl::ccTouchMoved @ 0x6edf56 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:57:33 +0000 // float __fastcall GJRotationControl::updateSliderPosition(int a1, float *a2) { int v3; // r7 float v4; // s17 float v5; // s16 float v6; // r0 float result; // r0 float v8; // s15 float v9; // s16 _BYTE v10[8]; // [sp+4h] [bp-10h] BYREF v3 = a1 + 324; v4 = atan2f(a2[1] - *(float *)(a1 + 320), *a2 - *(float *)(a1 + 316)); v5 = cosf(v4); v6 = sinf(v4); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v10, (float)(v5 * 60.0) + 0.0, (float)(v6 * 60.0) + 0.0); cocos2d::CCPoint::operator=(v3, v10); (*(void (__fastcall **)(_DWORD, int))(**(_DWORD **)(a1 + 332) + 92))(*(_DWORD *)(a1 + 332), v3); result = COERCE_FLOAT(roundf()); v8 = result / 1000.0; v9 = *(float *)(a1 + 340); if ( (float)(result / 1000.0) != v9 ) { *(float *)(a1 + 340) = v8; GJRotationControl::updateAngleInput(a1, (const char *)LODWORD(v8)); result = *(float *)(a1 + 380); if ( result != 0.0 ) return COERCE_FLOAT( (**(int (__fastcall ***)(float, _DWORD, _DWORD))LODWORD(result))( COERCE_FLOAT(LODWORD(result)), *(float *)(a1 + 340) - v9, *(unsigned __int8 *)(a1 + 352))); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source