{"type": "func", "start": 6443197872, "end": 6443197947, "name": "sub_1800B65B0", "pseudocode": "// \n// sub_1800B65B0 from 0x1800b65b0 to 0x1800b65fb (75 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x180106d80\n// > <???> @ 0x1801b8b44\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\n// Hidden C++ exception states: #wind=1\ncocos2d::CCObject *__fastcall sub_1800B65B0(cocos2d::CCObject *this, char a2)\n{\n  this->__vftable = (cocos2d::CCObject_vtbl *)&cocos2d::CCSchedulerScriptHandlerEntry::`vftable';\n  cocos2d::CCObject::release(*((cocos2d::CCObject **)this + 8));\n  sub_1800B64C0(this);\n  if ( (a2 & 1) != 0 )\n    j_j_free_0(this);\n  return this;\n}", "assembly": "; \n; sub_1800B65B0 from 0x1800b65b0 to 0x1800b65fb (75 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x180106d80\n; > <???> @ 0x1801b8b44\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, 0x1800b65b0\npush    rdi                                                            ; +0x5, 0x1800b65b5\nsub     rsp, 20h                                                       ; +0x6, 0x1800b65b6\nmov     ebx, edx                                                       ; +0xa, 0x1800b65ba\nmov     rdi, rcx                                                       ; +0xc, 0x1800b65bc\nlea     rax, ??_7CCSchedulerScriptHandlerEntry@cocos2d@@6B@; const cocos2d::CCSchedulerScriptHandlerEntry::`vftable' ; +0xf, 0x1800b65bf\nmov     [rcx], rax                                                     ; +0x16, 0x1800b65c6\nmov     rcx, [rcx+40h]; this                                           ; +0x19, 0x1800b65c9\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x1d, 0x1800b65cd\nmov     rcx, rdi; this                                                 ; +0x22, 0x1800b65d2\ncall    sub_1800B64C0                                                  ; +0x25, 0x1800b65d5\nnop                                                                    ; +0x2a, 0x1800b65da\ntest    bl, 1                                                          ; +0x2b, 0x1800b65db\njz      short loc_1800B65ED                                            ; +0x2e, 0x1800b65de\nmov     edx, 50h ; 'P'                                                 ; +0x30, 0x1800b65e0\nmov     rcx, rdi; Block                                                ; +0x35, 0x1800b65e5\ncall    j_j_free_0                                                     ; +0x38, 0x1800b65e8\nmov     rax, rdi                                                       ; +0x3d, 0x1800b65ed\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x40, 0x1800b65f0\nadd     rsp, 20h                                                       ; +0x45, 0x1800b65f5\npop     rdi                                                            ; +0x49, 0x1800b65f9\nretn                                                                   ; +0x4a, 0x1800b65fa", "xrefs": ["<???> @ 0x180106d80", "<???> @ 0x1801b8b44"], "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"}