//
// sub_14011B240 from 0x14011b240 to 0x14011b31c (220 bytes)
//
// 5 xrefs:
// > sub_14011A8D0 @ 0x14011aa2b
// > sub_14011A8D0 @ 0x14011aa44
// > ??> @ 0x14089736c
// > ??> @ 0x14089737c
// > ??> @ 0x1409162bc
//
// 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:26:54 +0000
//
cocos2d::CCPoint *__fastcall sub_14011B240(__int64 a1, __int64 a2, cocos2d::CCPoint *a3)
{
cocos2d::CCPoint *v3; // rsi
__int64 v5; // rbx
char *v6; // rdi
v3 = a3;
if ( a1 != a2 )
{
v5 = a1 + 12;
v6 = (char *)a3 - a1;
do
{
cocos2d::CCPoint::CCPoint(v3, (const struct cocos2d::CCPoint *)(v5 - 12));
v3 = (cocos2d::CCPoint *)((char *)v3 + 80);
*(_DWORD *)&v6[v5 - 4] = *(_DWORD *)(v5 - 4);
*(_DWORD *)&v6[v5] = *(_DWORD *)v5;
*(_DWORD *)&v6[v5 + 4] = *(_DWORD *)(v5 + 4);
*(_DWORD *)&v6[v5 + 8] = *(_DWORD *)(v5 + 8);
*(_DWORD *)&v6[v5 + 12] = *(_DWORD *)(v5 + 12);
*(_DWORD *)&v6[v5 + 16] = *(_DWORD *)(v5 + 16);
*(_DWORD *)&v6[v5 + 20] = *(_DWORD *)(v5 + 20);
*(_DWORD *)&v6[v5 + 24] = *(_DWORD *)(v5 + 24);
*(_DWORD *)&v6[v5 + 28] = *(_DWORD *)(v5 + 28);
*(_DWORD *)&v6[v5 + 32] = *(_DWORD *)(v5 + 32);
*(_DWORD *)&v6[v5 + 36] = *(_DWORD *)(v5 + 36);
*(_DWORD *)&v6[v5 + 40] = *(_DWORD *)(v5 + 40);
*(_DWORD *)&v6[v5 + 44] = *(_DWORD *)(v5 + 44);
*(_DWORD *)&v6[v5 + 48] = *(_DWORD *)(v5 + 48);
*(_QWORD *)&v6[v5 + 52] = *(_QWORD *)(v5 + 52);
*(_QWORD *)&v6[v5 + 60] = *(_QWORD *)(v5 + 60);
v5 += 80;
}
while ( v5 - 12 != a2 );
}
return v3;
}