{"type": "func", "start": 6442940048, "end": 6442940084, "name": "cocos2d::CCEGLView::onGLFWDeviceChangeFunCallback", "pseudocode": "// \n// cocos2d::CCEGLView::onGLFWDeviceChangeFunCallback from 0x180077690 to 0x1800776b4 (36 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b4980\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::CCEGLView::onGLFWDeviceChangeFunCallback(cocos2d::CCEGLView *this, struct GLFWwindow *a2)\n{\n  struct cocos2d::CCApplication *v2; // rbx\n  const char *v3; // rdx\n\n  v2 = cocos2d::CCApplication::sharedApplication();\n  cocos2d::CCLog((cocos2d *)\"Update controller\", v3);\n  v2[1].m_startupScriptFilename.m_data.m_smallStorage._Elems[8] = 1;\n}", "assembly": "; \n; cocos2d::CCEGLView::onGLFWDeviceChangeFunCallback from 0x180077690 to 0x1800776b4 (36 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b4980\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\npush    rbx                                                            ; +0x0, 0x180077690\nsub     rsp, 20h                                                       ; +0x2, 0x180077692\ncall    ?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x6, 0x180077696\nlea     rcx, aUpdateControll; \"Update controller\"                      ; +0xb, 0x18007769b\nmov     rbx, rax                                                       ; +0x12, 0x1800776a2\ncall    ?CCLog@cocos2d@@YAXPEBDZZ; cocos2d::CCLog(char const *,...)    ; +0x15, 0x1800776a5\nmov     byte ptr [rbx+78h], 1                                          ; +0x1a, 0x1800776aa\nadd     rsp, 20h                                                       ; +0x1e, 0x1800776ae\npop     rbx                                                            ; +0x22, 0x1800776b2\nretn                                                                   ; +0x23, 0x1800776b3", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b4980"], "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"}