{"type": "func", "start": 6443261920, "end": 6443262148, "name": "cocos2d::CCScheduler::unscheduleAllWithMinPriority", "pseudocode": "// \n// cocos2d::CCScheduler::unscheduleAllWithMinPriority from 0x1800c5fe0 to 0x1800c60c4 (228 bytes)\n// \n// 7 xrefs:\n// > cocos2d::CCScheduler::~CCScheduler @ 0x1800c3c98\n// > sub_1800C3CC0 @ 0x1800c3d2c\n// > cocos2d::CCScheduler::unscheduleAll @ 0x1800c5e55\n// > <???> @ 0x18014b580\n// > <???> @ 0x18014b590\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c3864\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:27 +0000\n// \n\nvoid __fastcall cocos2d::CCScheduler::unscheduleAllWithMinPriority(cocos2d::CCScheduler *this, int a2)\n{\n  __int64 v3; // rdx\n  __int64 v5; // rbx\n  __int64 v6; // rdx\n  __int64 v7; // rbx\n  __int64 v8; // rdx\n  __int64 v9; // rbx\n  __int64 v10; // rdx\n  __int64 v11; // rbx\n  cocos2d::CCArray *v12; // rcx\n\n  v3 = *((_QWORD *)this + 12);\n  if ( v3 )\n  {\n    do\n    {\n      v5 = *(_QWORD *)(v3 + 56);\n      cocos2d::CCScheduler::unscheduleAllForTarget(this, *(struct cocos2d::CCObject **)(v3 + 8));\n      v3 = v5;\n    }\n    while ( v5 );\n  }\n  if ( a2 >= 0 )\n  {\n    if ( a2 > 0 )\n      goto LABEL_12;\n  }\n  else\n  {\n    v6 = *((_QWORD *)this + 8);\n    if ( v6 )\n    {\n      do\n      {\n        v7 = *(_QWORD *)(v6 + 8);\n        if ( *(_DWORD *)(v6 + 24) >= a2 )\n          cocos2d::CCScheduler::unscheduleUpdateForTarget(this, *(const struct cocos2d::CCObject **)(v6 + 16));\n        v6 = v7;\n      }\n      while ( v7 );\n    }\n  }\n  v8 = *((_QWORD *)this + 9);\n  if ( v8 )\n  {\n    do\n    {\n      v9 = *(_QWORD *)(v8 + 8);\n      cocos2d::CCScheduler::unscheduleUpdateForTarget(this, *(const struct cocos2d::CCObject **)(v8 + 16));\n      v8 = v9;\n    }\n    while ( v9 );\n  }\nLABEL_12:\n  v10 = *((_QWORD *)this + 10);\n  if ( v10 )\n  {\n    do\n    {\n      v11 = *(_QWORD *)(v10 + 8);\n      if ( *(_DWORD *)(v10 + 24) >= a2 )\n        cocos2d::CCScheduler::unscheduleUpdateForTarget(this, *(const struct cocos2d::CCObject **)(v10 + 16));\n      v10 = v11;\n    }\n    while ( v11 );\n  }\n  v12 = *((cocos2d::CCArray **)this + 15);\n  if ( v12 )\n    cocos2d::CCArray::removeAllObjects(v12);\n}", "assembly": "; \n; cocos2d::CCScheduler::unscheduleAllWithMinPriority from 0x1800c5fe0 to 0x1800c60c4 (228 bytes)\n; \n; 7 xrefs:\n; > cocos2d::CCScheduler::~CCScheduler @ 0x1800c3c98\n; > sub_1800C3CC0 @ 0x1800c3d2c\n; > cocos2d::CCScheduler::unscheduleAll @ 0x1800c5e55\n; > <???> @ 0x18014b580\n; > <???> @ 0x18014b590\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c3864\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:27 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x1800c5fe0\nmov     [rsp+28h+arg_0], rbx                                           ; +0x4, 0x1800c5fe4\nmov     [rsp+28h+arg_8], rsi                                           ; +0x9, 0x1800c5fe9\nmov     esi, edx                                                       ; +0xe, 0x1800c5fee\nmov     rdx, [rcx+60h]                                                 ; +0x10, 0x1800c5ff0\nmov     [rsp+28h+var_8], rdi                                           ; +0x14, 0x1800c5ff4\nmov     rdi, rcx                                                       ; +0x19, 0x1800c5ff9\ntest    rdx, rdx                                                       ; +0x1c, 0x1800c5ffc\njz      short loc_1800C6028                                            ; +0x1f, 0x1800c5fff\nnop     dword ptr [rax+00h]                                            ; +0x21, 0x1800c6001\nnop     word ptr [rax+rax+00000000h]                                   ; +0x25, 0x1800c6005\nmov     rbx, [rdx+38h]                                                 ; +0x30, 0x1800c6010\nmov     rcx, rdi; this                                                 ; +0x34, 0x1800c6014\nmov     rdx, [rdx+8]; struct cocos2d::CCObject *                       ; +0x37, 0x1800c6017\ncall    ?unscheduleAllForTarget@CCScheduler@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCScheduler::unscheduleAllForTarget(cocos2d::CCObject *) ; +0x3b, 0x1800c601b\nmov     rdx, rbx                                                       ; +0x40, 0x1800c6020\ntest    rbx, rbx                                                       ; +0x43, 0x1800c6023\njnz     short loc_1800C6010                                            ; +0x46, 0x1800c6026\ntest    esi, esi                                                       ; +0x48, 0x1800c6028\njns     short loc_1800C6054                                            ; +0x4a, 0x1800c602a\nmov     rdx, [rdi+40h]                                                 ; +0x4c, 0x1800c602c\ntest    rdx, rdx                                                       ; +0x50, 0x1800c6030\njz      short loc_1800C6056                                            ; +0x53, 0x1800c6033\nmov     rbx, [rdx+8]                                                   ; +0x55, 0x1800c6035\ncmp     [rdx+18h], esi                                                 ; +0x59, 0x1800c6039\njl      short loc_1800C604A                                            ; +0x5c, 0x1800c603c\nmov     rdx, [rdx+10h]; struct cocos2d::CCObject *                     ; +0x5e, 0x1800c603e\nmov     rcx, rdi; this                                                 ; +0x62, 0x1800c6042\ncall    ?unscheduleUpdateForTarget@CCScheduler@cocos2d@@QEAAXPEBVCCObject@2@@Z; cocos2d::CCScheduler::unscheduleUpdateForTarget(cocos2d::CCObject const *) ; +0x65, 0x1800c6045\nmov     rdx, rbx                                                       ; +0x6a, 0x1800c604a\ntest    rbx, rbx                                                       ; +0x6d, 0x1800c604d\njnz     short loc_1800C6035                                            ; +0x70, 0x1800c6050\njmp     short loc_1800C6056                                            ; +0x72, 0x1800c6052\njg      short loc_1800C6078                                            ; +0x74, 0x1800c6054\nmov     rdx, [rdi+48h]                                                 ; +0x76, 0x1800c6056\ntest    rdx, rdx                                                       ; +0x7a, 0x1800c605a\njz      short loc_1800C6078                                            ; +0x7d, 0x1800c605d\nnop                                                                    ; +0x7f, 0x1800c605f\nmov     rbx, [rdx+8]                                                   ; +0x80, 0x1800c6060\nmov     rcx, rdi; this                                                 ; +0x84, 0x1800c6064\nmov     rdx, [rdx+10h]; struct cocos2d::CCObject *                     ; +0x87, 0x1800c6067\ncall    ?unscheduleUpdateForTarget@CCScheduler@cocos2d@@QEAAXPEBVCCObject@2@@Z; cocos2d::CCScheduler::unscheduleUpdateForTarget(cocos2d::CCObject const *) ; +0x8b, 0x1800c606b\nmov     rdx, rbx                                                       ; +0x90, 0x1800c6070\ntest    rbx, rbx                                                       ; +0x93, 0x1800c6073\njnz     short loc_1800C6060                                            ; +0x96, 0x1800c6076\nmov     rdx, [rdi+50h]                                                 ; +0x98, 0x1800c6078\ntest    rdx, rdx                                                       ; +0x9c, 0x1800c607c\njz      short loc_1800C609E                                            ; +0x9f, 0x1800c607f\nmov     rbx, [rdx+8]                                                   ; +0xa1, 0x1800c6081\ncmp     [rdx+18h], esi                                                 ; +0xa5, 0x1800c6085\njl      short loc_1800C6096                                            ; +0xa8, 0x1800c6088\nmov     rdx, [rdx+10h]; struct cocos2d::CCObject *                     ; +0xaa, 0x1800c608a\nmov     rcx, rdi; this                                                 ; +0xae, 0x1800c608e\ncall    ?unscheduleUpdateForTarget@CCScheduler@cocos2d@@QEAAXPEBVCCObject@2@@Z; cocos2d::CCScheduler::unscheduleUpdateForTarget(cocos2d::CCObject const *) ; +0xb1, 0x1800c6091\nmov     rdx, rbx                                                       ; +0xb6, 0x1800c6096\ntest    rbx, rbx                                                       ; +0xb9, 0x1800c6099\njnz     short loc_1800C6081                                            ; +0xbc, 0x1800c609c\nmov     rcx, [rdi+78h]; this                                           ; +0xbe, 0x1800c609e\nmov     rdi, [rsp+28h+var_8]                                           ; +0xc2, 0x1800c60a2\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xc7, 0x1800c60a7\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xcc, 0x1800c60ac\ntest    rcx, rcx                                                       ; +0xd1, 0x1800c60b1\njz      short loc_1800C60BF                                            ; +0xd4, 0x1800c60b4\nadd     rsp, 28h                                                       ; +0xd6, 0x1800c60b6\njmp     ?removeAllObjects@CCArray@cocos2d@@QEAAXXZ; cocos2d::CCArray::removeAllObjects(void) ; +0xda, 0x1800c60ba\nadd     rsp, 28h                                                       ; +0xdf, 0x1800c60bf\nretn                                                                   ; +0xe3, 0x1800c60c3", "xrefs": ["cocos2d::CCScheduler::~CCScheduler @ 0x1800c3c98", "sub_1800C3CC0 @ 0x1800c3d2c", "cocos2d::CCScheduler::unscheduleAll @ 0x1800c5e55", "<???> @ 0x18014b580", "<???> @ 0x18014b590", "<???> @ 0x18014cf68", "<???> @ 0x1801c3864"], "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"}