{"type": "func", "start": 6442893728, "end": 6442893776, "name": "cocos2d::CCEGLViewProtocol::setViewName", "pseudocode": "// \n// cocos2d::CCEGLViewProtocol::setViewName from 0x18006c1a0 to 0x18006c1d0 (48 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1801002f8\n// > <???> @ 0x180100928\n// > <???> @ 0x1801438a8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall cocos2d::CCEGLViewProtocol::setViewName(cocos2d::CCEGLViewProtocol *this, const char *a2)\n{\n  __int64 v2; // rax\n\n  if ( a2 )\n  {\n    v2 = -1;\n    do\n      ++v2;\n    while ( a2[v2] );\n    if ( v2 )\n      strncpy(this->m_szViewName, a2, 0x32u);\n  }\n}", "assembly": "; \n; cocos2d::CCEGLViewProtocol::setViewName from 0x18006c1a0 to 0x18006c1d0 (48 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1801002f8\n; > <???> @ 0x180100928\n; > <???> @ 0x1801438a8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\ntest    rdx, rdx                                                       ; +0x0, 0x18006c1a0\njz      short locret_18006C1CF                                         ; +0x3, 0x18006c1a3\nmov     rax, 0FFFFFFFFFFFFFFFFh                                        ; +0x5, 0x18006c1a5\nnop     dword ptr [rax+00h]                                            ; +0xc, 0x18006c1ac\ninc     rax                                                            ; +0x10, 0x18006c1b0\ncmp     byte ptr [rdx+rax], 0                                          ; +0x13, 0x18006c1b3\njnz     short loc_18006C1B0                                            ; +0x17, 0x18006c1b7\ntest    rax, rax                                                       ; +0x19, 0x18006c1b9\njz      short locret_18006C1CF                                         ; +0x1c, 0x18006c1bc\nadd     rcx, 30h ; '0'                                                 ; +0x1e, 0x18006c1be\nmov     r8d, 32h ; '2'                                                 ; +0x22, 0x18006c1c2\njmp     cs:strncpy                                                     ; +0x28, 0x18006c1c8\nretn                                                                   ; +0x2f, 0x18006c1cf", "xrefs": ["<???> @ 0x1801002f8", "<???> @ 0x180100928", "<???> @ 0x1801438a8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}