//
// cocos2d::CCEGLViewProtocol::setViewName from 0x18006c1a0 to 0x18006c1d0 (48 bytes)
//
// 3 xrefs:
// > ??> @ 0x1801002f8
// > ??> @ 0x180100928
// > ??> @ 0x1801438a8
//
// 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
//
void __fastcall cocos2d::CCEGLViewProtocol::setViewName(cocos2d::CCEGLViewProtocol *this, const char *a2)
{
__int64 v2; // rax
if ( a2 )
{
v2 = -1;
do
++v2;
while ( a2[v2] );
if ( v2 )
strncpy(this->m_szViewName, a2, 0x32u);
}
}