// // cocos2d::CCDirector::convertToUI from 0x7ca5bc to 0x7ca692 (214 bytes) // // 1 xrefs: // > cocos2d::CCNode::convertToWindowSpace @ 0x7c5078 // // 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 12:00:30 +0000 // cocos2d::CCDirector *__fastcall cocos2d::CCDirector::convertToUI( cocos2d::CCDirector *this, const cocos2d::CCPoint *a2, _DWORD *a3) { const cocos2d::CCSize *v6; // r0 float v7; // s13 float v8; // s15 float v10[2]; // [sp+4h] [bp-E4h] BYREF float v11[3]; // [sp+Ch] [bp-DCh] BYREF _DWORD v12[3]; // [sp+18h] [bp-D0h] BYREF _BYTE v13[64]; // [sp+24h] [bp-C4h] BYREF _BYTE v14[64]; // [sp+64h] [bp-84h] BYREF _BYTE v15[64]; // [sp+A4h] [bp-44h] BYREF kmGLGetMatrix(5889, v14); kmGLGetMatrix(5888, v15); kmMat4Multiply(v13, v14, v15); memset(v12, 0, sizeof(v12)); v12[0] = *a3; v12[1] = a3[1]; kmVec3TransformCoord(v11, v12, v13); v6 = (const cocos2d::CCSize *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)a2 + 38) + 44))(*((_DWORD *)a2 + 38)); cocos2d::CCSize::CCSize(v10, v6); v7 = v10[0] * (v11[0] * 0.5 + 0.5); v8 = v10[1] * ((float)-v11[1] * 0.5 + 0.5); cocos2d::CCPoint::CCPoint((float *)this, v7, v8); return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source