//
// ShaderLayer::objectPosToShaderPos from 0x140623d40 to 0x140623e03 (195 bytes)
//
// 8 xrefs:
// > ShaderLayer::updateEffectOffsets @ 0x140624018
// > ShaderLayer::updateEffectOffsets @ 0x140624286
// > ShaderLayer::updateEffectOffsets @ 0x14062447f
// > ShaderLayer::updateEffectOffsets @ 0x1406245ac
// > ShaderLayer::updateEffectOffsets @ 0x1406247e4
// > ShaderLayer::updateEffectOffsets @ 0x1406249b0
// > ShaderLayer::updateEffectOffsets @ 0x140624ab9
// > ??> @ 0x140930560
//
// 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:35:23 +0000
//
float *__fastcall ShaderLayer::objectPosToShaderPos(__int64 a1, float *a2, __int64 a3)
{
__int64 v5; // rax
float v7; // xmm1_4
float v8; // [rsp+30h] [rbp+8h] BYREF
float v9; // [rsp+34h] [rbp+Ch]
char v10; // [rsp+38h] [rbp+10h] BYREF
cocos2d::CCNode::convertToWorldSpace(*(_QWORD *)(*(_QWORD *)(a1 + 1176) + 4296LL), &v8, a3);
cocos2d::CCNode::convertToNodeSpace(a1, &v10, &v8);
cocos2d::CCPoint::operator=(&v8, v5);
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)a2, v8 / *(float *)(a1 + 1224), v9 / *(float *)(a1 + 1228));
cocos2d::CCPoint::operator*(a2, &v10);
cocos2d::CCPoint::operator=(a2, &v10);
v7 = a2[1];
*a2 = *a2 / *(float *)(a1 + 560);
a2[1] = v7 / *(float *)(a1 + 564);
return a2;
}