{"type": "func", "start": 6443250640, "end": 6443250704, "name": "cocos2d::CCDirector::setScheduler", "pseudocode": "// \n// cocos2d::CCDirector::setScheduler from 0x1800c33d0 to 0x1800c3410 (64 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x18010da40\n// > <???> @ 0x18010db50\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c366c\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:22:26 +0000\n// \n\nvoid __fastcall cocos2d::CCDirector::setScheduler(cocos2d::CCDirector *this, struct cocos2d::CCScheduler *a2)\n{\n  cocos2d::CCObject *v4; // rcx\n\n  if ( *((struct cocos2d::CCScheduler **)this + 13) != a2 )\n  {\n    if ( a2 )\n      cocos2d::CCObject::retain(a2);\n    v4 = *((cocos2d::CCObject **)this + 13);\n    if ( v4 )\n      cocos2d::CCObject::release(v4);\n    *((_QWORD *)this + 13) = a2;\n  }\n}", "assembly": "; \n; cocos2d::CCDirector::setScheduler from 0x1800c33d0 to 0x1800c3410 (64 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x18010da40\n; > <???> @ 0x18010db50\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c366c\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:22:26 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800c33d0\npush    rdi                                                            ; +0x5, 0x1800c33d5\nsub     rsp, 20h                                                       ; +0x6, 0x1800c33d6\nmov     rbx, rdx                                                       ; +0xa, 0x1800c33da\nmov     rdi, rcx                                                       ; +0xd, 0x1800c33dd\ncmp     [rcx+68h], rdx                                                 ; +0x10, 0x1800c33e0\njz      short loc_1800C3405                                            ; +0x14, 0x1800c33e4\ntest    rdx, rdx                                                       ; +0x16, 0x1800c33e6\njz      short loc_1800C33F3                                            ; +0x19, 0x1800c33e9\nmov     rcx, rdx; this                                                 ; +0x1b, 0x1800c33eb\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x1e, 0x1800c33ee\nmov     rcx, [rdi+68h]; this                                           ; +0x23, 0x1800c33f3\ntest    rcx, rcx                                                       ; +0x27, 0x1800c33f7\njz      short loc_1800C3401                                            ; +0x2a, 0x1800c33fa\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x2c, 0x1800c33fc\nmov     [rdi+68h], rbx                                                 ; +0x31, 0x1800c3401\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x35, 0x1800c3405\nadd     rsp, 20h                                                       ; +0x3a, 0x1800c340a\npop     rdi                                                            ; +0x3e, 0x1800c340e\nretn                                                                   ; +0x3f, 0x1800c340f", "xrefs": ["<???> @ 0x18010da40", "<???> @ 0x18010db50", "<???> @ 0x18014cf68", "<???> @ 0x1801c366c"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}