{"type": "func", "start": 6442925664, "end": 6442925739, "name": "cocos2d::CCApplication::toggleVerticalSync", "pseudocode": "// \n// cocos2d::CCApplication::toggleVerticalSync from 0x180073e60 to 0x180073eab (75 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b44b8\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::CCApplication::toggleVerticalSync(cocos2d::CCApplication *this, unsigned __int8 a2)\n{\n  sub_1800D34D0(a2);\n  *((_BYTE *)this + 196) = a2;\n  cocos2d::CCApplication::updateVerticalSync(this);\n  *((_BYTE *)this + 199) = 0;\n  dword_1801A84D0 = 0;\n  dword_1801A84D4 = 0;\n}", "assembly": "; \n; cocos2d::CCApplication::toggleVerticalSync from 0x180073e60 to 0x180073eab (75 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b44b8\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180073e60\npush    rdi                                                            ; +0x5, 0x180073e65\nsub     rsp, 20h                                                       ; +0x6, 0x180073e66\nmovzx   ebx, dl                                                        ; +0xa, 0x180073e6a\nmov     rdi, rcx                                                       ; +0xd, 0x180073e6d\nmov     ecx, ebx                                                       ; +0x10, 0x180073e70\ncall    sub_1800D34D0                                                  ; +0x12, 0x180073e72\nmov     rcx, rdi; this                                                 ; +0x17, 0x180073e77\nmov     [rdi+0C4h], bl                                                 ; +0x1a, 0x180073e7a\ncall    ?updateVerticalSync@CCApplication@cocos2d@@QEAAXXZ; cocos2d::CCApplication::updateVerticalSync(void) ; +0x20, 0x180073e80\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x25, 0x180073e85\nmov     byte ptr [rdi+0C7h], 0                                         ; +0x2a, 0x180073e8a\nmov     cs:dword_1801A84D0, 0                                          ; +0x31, 0x180073e91\nmov     cs:dword_1801A84D4, 0                                          ; +0x3b, 0x180073e9b\nadd     rsp, 20h                                                       ; +0x45, 0x180073ea5\npop     rdi                                                            ; +0x49, 0x180073ea9\nretn                                                                   ; +0x4a, 0x180073eaa", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b44b8"], "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"}