// // EditorUI::scaleYChanged from 0x1402030f0 to 0x1402031ee (254 bytes) // // 2 xrefs: // > @ 0x1407517d0 // > @ 0x14091afd8 // // 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:28:14 +0000 // int __fastcall EditorUI::scaleYChanged(__int64 a1, float a2, char a3) { float *v3; // rbx float v6; // xmm0_4 __int64 v7; // rax float v8; // xmm1_4 int result; // eax cocos2d::CCPoint *v10; // rax char v11; // [rsp+60h] [rbp+8h] BYREF v3 = *(float **)(a1 + 1136); if ( v3 ) { v6 = roundf((float)(a2 * v3[331]) * 1000.0); v3[17] = 0.0; v7 = *(_QWORD *)v3; v8 = (float)(int)v6 / 1000.0; v3[291] = v8; v3[250] = v8; result = (*(__int64 (__fastcall **)(float *))(v7 + 1296))(v3); *((_BYTE *)v3 + 848) = 1; *((_BYTE *)v3 + 872) = 1; } else { result = cocos2d::CCArray::count(*(cocos2d::CCArray **)(a1 + 512)); if ( result ) { cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v11, (const struct cocos2d::CCPoint *)(a1 + 384)); return EditorUI::scaleObjects(a1 - 432, *(cocos2d::CCArray **)(a1 + 512), 0.0, a2, v10, 2, a3); } } return result; }