//
// cocos2d::CCEGLViewProtocol::setViewName from 0x100511080 to 0x10051109f (31 bytes)
//
// 2 xrefs:
// > ??> @ 0x100b64b80
// > ??> @ 0x100b69de0
//
// 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 12:31:36 +0000
//
char *__fastcall cocos2d::CCEGLViewProtocol::setViewName(__int64 a1, const char *a2)
{
char *result; // rax
if ( a2 )
{
if ( *a2 )
return strncpy((char *)(a1 + 48), a2, 0x32u);
}
return result;
}