{"type": "func", "start": 6442470000, "end": 6442470117, "name": "cocos2d::CCNode::scheduleUpdateWithPriorityLua", "pseudocode": "// \n// cocos2d::CCNode::scheduleUpdateWithPriorityLua from 0x180004a70 to 0x180004ae5 (117 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b7594\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:21:17 +0000\n// \n\nvoid __fastcall cocos2d::CCNode::scheduleUpdateWithPriorityLua(cocos2d::CCScheduler **this, int a2, int a3)\n{\n  struct cocos2d::CCScriptEngineManager *v6; // rax\n  cocos2d::CCScheduler *v7; // rcx\n  bool v8; // r9\n\n  cocos2d::CCScheduler::unscheduleUpdateForTarget(*(this + 32), (const struct cocos2d::CCObject *)this);\n  if ( *((_DWORD *)this + 74) )\n  {\n    v6 = cocos2d::CCScriptEngineManager::sharedManager();\n    (*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)v6 + 24LL))(*(_QWORD *)v6, *((unsigned int *)this + 74));\n  }\n  v7 = *(this + 32);\n  v8 = *((_BYTE *)this + 272) == 0;\n  *((_DWORD *)this + 74) = a2;\n  cocos2d::CCScheduler::scheduleUpdateForTarget(v7, (struct cocos2d::CCObject *)this, a3, v8);\n}", "assembly": "; \n; cocos2d::CCNode::scheduleUpdateWithPriorityLua from 0x180004a70 to 0x180004ae5 (117 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b7594\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:21:17 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180004a70\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180004a75\npush    rdi                                                            ; +0xa, 0x180004a7a\nsub     rsp, 20h                                                       ; +0xb, 0x180004a7b\nmov     esi, edx                                                       ; +0xf, 0x180004a7f\nmov     rbx, rcx                                                       ; +0x11, 0x180004a81\nmov     rdx, rcx; struct cocos2d::CCObject *                           ; +0x14, 0x180004a84\nmov     edi, r8d                                                       ; +0x17, 0x180004a87\nmov     rcx, [rcx+100h]; this                                          ; +0x1a, 0x180004a8a\ncall    ?unscheduleUpdateForTarget@CCScheduler@cocos2d@@QEAAXPEBVCCObject@2@@Z; cocos2d::CCScheduler::unscheduleUpdateForTarget(cocos2d::CCObject const *) ; +0x21, 0x180004a91\ncmp     dword ptr [rbx+128h], 0                                        ; +0x26, 0x180004a96\njz      short loc_180004AB3                                            ; +0x2d, 0x180004a9d\ncall    ?sharedManager@CCScriptEngineManager@cocos2d@@SAPEAV12@XZ; cocos2d::CCScriptEngineManager::sharedManager(void) ; +0x2f, 0x180004a9f\nmov     edx, [rbx+128h]                                                ; +0x34, 0x180004aa4\nmov     rcx, [rax]                                                     ; +0x3a, 0x180004aaa\nmov     rax, [rcx]                                                     ; +0x3d, 0x180004aad\ncall    qword ptr [rax+18h]                                            ; +0x40, 0x180004ab0\ncmp     byte ptr [rbx+110h], 0                                         ; +0x43, 0x180004ab3\nmov     r8d, edi; int                                                  ; +0x4a, 0x180004aba\nmov     rcx, [rbx+100h]; this                                          ; +0x4d, 0x180004abd\nmov     rdx, rbx; struct cocos2d::CCObject *                           ; +0x54, 0x180004ac4\nsetz    r9b; bool                                                      ; +0x57, 0x180004ac7\nmov     [rbx+128h], esi                                                ; +0x5b, 0x180004acb\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x61, 0x180004ad1\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x66, 0x180004ad6\nadd     rsp, 20h                                                       ; +0x6b, 0x180004adb\npop     rdi                                                            ; +0x6f, 0x180004adf\njmp     ?scheduleUpdateForTarget@CCScheduler@cocos2d@@QEAAXPEAVCCObject@2@H_N@Z; cocos2d::CCScheduler::scheduleUpdateForTarget(cocos2d::CCObject *,int,bool) ; +0x70, 0x180004ae0", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801b7594"], "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"}