{"type": "func", "start": 6442902512, "end": 6442902576, "name": "cocos2d::CCEGLViewProtocol::setViewName", "pseudocode": "// \n// cocos2d::CCEGLViewProtocol::setViewName from 0x18006e3f0 to 0x18006e430 (64 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x180106948\n// > <???> @ 0x180107040\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801be200\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:21:55 +0000\n// \n\nvoid __fastcall cocos2d::CCEGLViewProtocol::setViewName(cocos2d::CCEGLViewProtocol *this, const char *a2)\n{\n  if ( a2 )\n  {\n    if ( strlen(a2) )\n      strncpy((char *)this + 48, a2, 0x32u);\n  }\n}", "assembly": "; \n; cocos2d::CCEGLViewProtocol::setViewName from 0x18006e3f0 to 0x18006e430 (64 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x180106948\n; > <???> @ 0x180107040\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801be200\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:21:55 +0000\n; \ntest    rdx, rdx                                                       ; +0x0, 0x18006e3f0\njz      short locret_18006E42F                                         ; +0x3, 0x18006e3f3\nmov     [rsp+arg_0], rbx                                               ; +0x5, 0x18006e3f5\npush    rdi                                                            ; +0xa, 0x18006e3fa\nsub     rsp, 20h                                                       ; +0xb, 0x18006e3fb\nmov     rdi, rcx                                                       ; +0xf, 0x18006e3ff\nmov     rbx, rdx                                                       ; +0x12, 0x18006e402\nmov     rcx, rdx; Str                                                  ; +0x15, 0x18006e405\ncall    strlen                                                         ; +0x18, 0x18006e408\ntest    rax, rax                                                       ; +0x1d, 0x18006e40d\njz      short loc_18006E425                                            ; +0x20, 0x18006e410\nlea     rcx, [rdi+30h]; Destination                                    ; +0x22, 0x18006e412\nmov     r8d, 32h ; '2'; Count                                          ; +0x26, 0x18006e416\nmov     rdx, rbx; Source                                               ; +0x2c, 0x18006e41c\ncall    cs:strncpy                                                     ; +0x2f, 0x18006e41f\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x35, 0x18006e425\nadd     rsp, 20h                                                       ; +0x3a, 0x18006e42a\npop     rdi                                                            ; +0x3e, 0x18006e42e\nretn                                                                   ; +0x3f, 0x18006e42f", "xrefs": ["<???> @ 0x180106948", "<???> @ 0x180107040", "<???> @ 0x18014cf68", "<???> @ 0x1801be200"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}