// // cocos2d::CCDirector::convertToUI from 0x100483ee0 to 0x100483fee (270 bytes) // // 1 xrefs: // > cocos2d::CCNode::convertToWindowSpace @ 0x100274db5 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // cocos2d::CCPoint __fastcall cocos2d::CCDirector::convertToUI(cocos2d::CCDirector *a1, const cocos2d::CCPoint *a2) { __int64 *v2; // rdx __int64 *v3; // r15 _QWORD *v4; // rax float v6; // xmm1_4 __m128 v7[4]; // [rsp+8h] [rbp-F8h] BYREF __m128 v8[4]; // [rsp+48h] [rbp-B8h] BYREF __int64 v9; // [rsp+88h] [rbp-78h] BYREF int v10; // [rsp+90h] [rbp-70h] float *v11; // [rsp+C8h] [rbp-38h] __int64 v12; // [rsp+D0h] [rbp-30h] BYREF cocos2d::CCPoint result; // 0:xmm0_8.8 v3 = v2; v11 = (float *)a1; sub_100207F90(5889, (__int64)v8); sub_100207F90(5888, (__int64)&v9); sub_1003D3300(v7, v8, (unsigned int *)&v9); v9 = *v3; v10 = 0; sub_100609380(v8, &v9, v7); v4 = (_QWORD *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)&a2[23] + 88LL))(*(_QWORD *)&a2[23]); sub_10028CFC0(&v12, v4); result.y = 0.0; result.x = (v8[0].f32[0] * 0.5 + 0.5) * *(float *)&v12; v6 = (0.5 - v8[0].f32[1] * 0.5) * *((float *)&v12 + 1); sub_10028CBE0(v11, result.x, v6); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source