{"type": "func", "start": 6442947648, "end": 6442947686, "name": "cocos2d::CCEGLView::windowShouldClose", "pseudocode": "// \n// cocos2d::CCEGLView::windowShouldClose from 0x180079440 to 0x180079466 (38 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCApplication::run @ 0x180073542\n// > cocos2d::CCApplication::run @ 0x18007380a\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b4b78\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\nbool __fastcall cocos2d::CCEGLView::windowShouldClose(cocos2d::CCEGLView *this)\n{\n  return !*((_QWORD *)this + 25) || (unsigned int)sub_1800D5010() != 0;\n}", "assembly": "; \n; cocos2d::CCEGLView::windowShouldClose from 0x180079440 to 0x180079466 (38 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCApplication::run @ 0x180073542\n; > cocos2d::CCApplication::run @ 0x18007380a\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b4b78\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, 0x180079440\nmov     rcx, [rcx+0C8h]                                                ; +0x4, 0x180079444\ntest    rcx, rcx                                                       ; +0xb, 0x18007944b\njz      short loc_18007945F                                            ; +0xe, 0x18007944e\ncall    sub_1800D5010                                                  ; +0x10, 0x180079450\ntest    eax, eax                                                       ; +0x15, 0x180079455\nsetnz   al                                                             ; +0x17, 0x180079457\nadd     rsp, 28h                                                       ; +0x1a, 0x18007945a\nretn                                                                   ; +0x1e, 0x18007945e\nmov     al, 1                                                          ; +0x1f, 0x18007945f\nadd     rsp, 28h                                                       ; +0x21, 0x180079461\nretn                                                                   ; +0x25, 0x180079465", "xrefs": ["cocos2d::CCApplication::run @ 0x180073542", "cocos2d::CCApplication::run @ 0x18007380a", "<???> @ 0x1801438a8", "<???> @ 0x1801b4b78"], "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"}