// // GJTransformControl::scaleButtons from 0xbd06e8 to 0xbd07c8 (224 bytes) // // 4 xrefs: // > EditorUI::updateZoom @ 0x7c7044 // > GJTransformControl::init @ 0xbd4be4 // > EditorUI::showTransformControl @ 0xc02214 // > @ 0x4c3a8 // // 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:37 +0000 // __int64 __fastcall GJTransformControl::scaleButtons(GJTransformControl *this, float a2) { __int64 v4; // x0 unsigned int *v5; // x1 __int64 *v6; // x20 __int64 *v7; // x21 __int64 i; // x19 float v9; // s0 __int64 v10; // x0 v4 = *((_QWORD *)this + 64); if ( v4 ) { v5 = *(unsigned int **)(v4 + 56); if ( *v5 ) { v6 = *((__int64 **)v5 + 2); v7 = &v6[*v5 - 1]; if ( v6 <= v7 ) { for ( i = *v6; *v6; i = *v6 ) { if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)i + 64LL))(i) - 1 <= 8 ) v9 = *((float *)this + 154); else v9 = 1.0; ++v6; (*(void (__fastcall **)(__int64, float))(*(_QWORD *)i + 160LL))(i, (float)(a2 * 0.7) * v9); if ( v7 < v6 ) break; } } } } v10 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 66) + 512LL))(*((_QWORD *)this + 66)); return (*(__int64 (__fastcall **)(__int64, float))(*(_QWORD *)v10 + 160LL))(v10, a2); }
GD Web Decomp Icon

GD Web Decomp

Raw Source