{"type": "func", "start": 6442941360, "end": 6442941407, "name": "cocos2d::CCEGLView::onGLFWWindowIconifyFunCallback", "pseudocode": "// \n// cocos2d::CCEGLView::onGLFWWindowIconifyFunCallback from 0x180077bb0 to 0x180077bdf (47 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b4a1c\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::onGLFWWindowIconifyFunCallback(\n        cocos2d::CCEGLView *this,\n        struct GLFWwindow *a2,\n        int a3)\n{\n  struct cocos2d::CCApplication *v3; // rax\n  struct cocos2d::CCApplication *v4; // rax\n\n  if ( a3 )\n  {\n    v3 = cocos2d::CCApplication::sharedApplication();\n    ((void (__fastcall *)(struct cocos2d::CCApplication *))v3->applicationDidEnterBackground)(v3);\n  }\n  else\n  {\n    v4 = cocos2d::CCApplication::sharedApplication();\n    ((void (__fastcall *)(struct cocos2d::CCApplication *))v4->applicationWillEnterForeground)(v4);\n  }\n}", "assembly": "; \n; cocos2d::CCEGLView::onGLFWWindowIconifyFunCallback from 0x180077bb0 to 0x180077bdf (47 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b4a1c\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, 0x180077bb0\ntest    r8d, r8d                                                       ; +0x4, 0x180077bb4\njz      short loc_180077BCC                                            ; +0x7, 0x180077bb7\ncall    ?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x9, 0x180077bb9\nmov     rcx, rax                                                       ; +0xe, 0x180077bbe\nmov     rdx, [rax]                                                     ; +0x11, 0x180077bc1\nadd     rsp, 28h                                                       ; +0x14, 0x180077bc4\njmp     qword ptr [rdx+10h]                                            ; +0x18, 0x180077bc8\ncall    ?sharedApplication@CCApplication@cocos2d@@SAPEAV12@XZ; cocos2d::CCApplication::sharedApplication(void) ; +0x1c, 0x180077bcc\nmov     rcx, rax                                                       ; +0x21, 0x180077bd1\nmov     rdx, [rax]                                                     ; +0x24, 0x180077bd4\nadd     rsp, 28h                                                       ; +0x27, 0x180077bd7\njmp     qword ptr [rdx+18h]                                            ; +0x2b, 0x180077bdb", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b4a1c"], "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"}