{"type": "func", "start": 6442940096, "end": 6442940149, "name": "sub_1800776C0", "pseudocode": "// \n// sub_1800776C0 from 0x1800776c0 to 0x1800776f5 (53 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCEGLView::setupWindow @ 0x180078c21\n// > <???> @ 0x18013ba2c\n// > <???> @ 0x18013ba3c\n// > <???> @ 0x1801b498c\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 sub_1800776C0()\n{\n  struct cocos2d::CCApplication *v0; // rbx\n  const char *v1; // rdx\n\n  if ( qword_1801A8500 )\n  {\n    v0 = cocos2d::CCApplication::sharedApplication();\n    cocos2d::CCLog((cocos2d *)\"Update controller\", v1);\n    v0[1].m_startupScriptFilename.m_data.m_smallStorage._Elems[8] = 1;\n  }\n}", "assembly": "; \n; sub_1800776C0 from 0x1800776c0 to 0x1800776f5 (53 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCEGLView::setupWindow @ 0x180078c21\n; > <???> @ 0x18013ba2c\n; > <???> @ 0x18013ba3c\n; > <???> @ 0x1801b498c\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\nsub     rsp, 28h                                                       ; +0x0, 0x1800776c0\ncmp     cs:qword_1801A8500, 0                                          ; +0x4, 0x1800776c4\njz      short loc_1800776F0                                            ; +0xc, 0x1800776cc\nmov     [rsp+28h+var_8], rbx                                           ; +0xe, 0x1800776ce\ncall    ?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x13, 0x1800776d3\nlea     rcx, aUpdateControll; \"Update controller\"                      ; +0x18, 0x1800776d8\nmov     rbx, rax                                                       ; +0x1f, 0x1800776df\ncall    ?CCLog@cocos2d@@YAXPEBDZZ; cocos2d::CCLog(char const *,...)    ; +0x22, 0x1800776e2\nmov     byte ptr [rbx+78h], 1                                          ; +0x27, 0x1800776e7\nmov     rbx, [rsp+28h+var_8]                                           ; +0x2b, 0x1800776eb\nadd     rsp, 28h                                                       ; +0x30, 0x1800776f0\nretn                                                                   ; +0x34, 0x1800776f4", "xrefs": ["cocos2d::CCEGLView::setupWindow @ 0x180078c21", "<???> @ 0x18013ba2c", "<???> @ 0x18013ba3c", "<???> @ 0x1801b498c"], "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"}