{"type": "func", "start": 6443244112, "end": 6443244305, "name": "cocos2d::CCScheduler::resumeTargets", "pseudocode": "// \n// cocos2d::CCScheduler::resumeTargets from 0x1800c1a50 to 0x1800c1b11 (193 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b951c\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::CCScheduler::resumeTargets(cocos2d::CCScheduler *this, struct cocos2d::CCSet *a2)\n{\n  __int64 *j; // rbx\n  __int64 **v5; // rax\n  __int64 *i; // rax\n  __int64 *v7; // rcx\n  __int64 v8; // [rsp+40h] [rbp+18h] BYREF\n  __int64 v9; // [rsp+48h] [rbp+20h] BYREF\n\n  j = (__int64 *)*cocos2d::CCSet::begin((__int64)a2, &v9);\n  while ( j != (__int64 *)*cocos2d::CCSet::end((__int64)a2, &v8) )\n  {\n    cocos2d::CCScheduler::resumeTarget(this, (struct cocos2d::CCObject *)j[4]);\n    v5 = (__int64 **)j[2];\n    if ( *((_BYTE *)v5 + 25) )\n    {\n      for ( i = (__int64 *)j[1]; !*((_BYTE *)i + 25); i = (__int64 *)i[1] )\n      {\n        if ( j != (__int64 *)i[2] )\n          break;\n        j = i;\n      }\n      j = i;\n    }\n    else\n    {\n      v7 = *v5;\n      for ( j = (__int64 *)j[2]; !*((_BYTE *)v7 + 25); v7 = (__int64 *)*v7 )\n        j = v7;\n    }\n  }\n}", "assembly": "; \n; cocos2d::CCScheduler::resumeTargets from 0x1800c1a50 to 0x1800c1b11 (193 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b951c\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, 0x1800c1a50\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1800c1a55\npush    rdi                                                            ; +0xa, 0x1800c1a5a\nsub     rsp, 20h                                                       ; +0xb, 0x1800c1a5b\nmov     rdi, rdx                                                       ; +0xf, 0x1800c1a5f\nmov     rsi, rcx                                                       ; +0x12, 0x1800c1a62\nmov     rcx, rdi                                                       ; +0x15, 0x1800c1a65\nlea     rdx, [rsp+28h+arg_18]                                          ; +0x18, 0x1800c1a68\ncall    ?begin@CCSet@cocos2d@@QEAA?AV?$_Tree_const_iterator@V?$_Tree_val@U?$_Tree_simple_types@PEAVCCObject@cocos2d@@@std@@@std@@@std@@XZ; cocos2d::CCSet::begin(void) ; +0x1d, 0x1800c1a6d\nlea     rdx, [rsp+28h+arg_10]                                          ; +0x22, 0x1800c1a72\nmov     rcx, rdi                                                       ; +0x27, 0x1800c1a77\nmov     rbx, [rax]                                                     ; +0x2a, 0x1800c1a7a\ncall    ?end@CCSet@cocos2d@@QEAA?AV?$_Tree_const_iterator@V?$_Tree_val@U?$_Tree_simple_types@PEAVCCObject@cocos2d@@@std@@@std@@@std@@XZ; cocos2d::CCSet::end(void) ; +0x2d, 0x1800c1a7d\ncmp     rbx, [rax]                                                     ; +0x32, 0x1800c1a82\njz      short loc_1800C1B01                                            ; +0x35, 0x1800c1a85\nnop     word ptr [rax+rax+00000000h]                                   ; +0x37, 0x1800c1a87\nmov     rdx, [rbx+20h]; struct cocos2d::CCObject *                     ; +0x40, 0x1800c1a90\nmov     rcx, rsi; this                                                 ; +0x44, 0x1800c1a94\ncall    ?resumeTarget@CCScheduler@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCScheduler::resumeTarget(cocos2d::CCObject *) ; +0x47, 0x1800c1a97\nmov     rax, [rbx+10h]                                                 ; +0x4c, 0x1800c1a9c\ncmp     byte ptr [rax+19h], 0                                          ; +0x50, 0x1800c1aa0\njz      short loc_1800C1AC8                                            ; +0x54, 0x1800c1aa4\nmov     rax, [rbx+8]                                                   ; +0x56, 0x1800c1aa6\ncmp     byte ptr [rax+19h], 0                                          ; +0x5a, 0x1800c1aaa\njnz     short loc_1800C1AC3                                            ; +0x5e, 0x1800c1aae\ncmp     rbx, [rax+10h]                                                 ; +0x60, 0x1800c1ab0\njnz     short loc_1800C1AC3                                            ; +0x64, 0x1800c1ab4\nmov     rbx, rax                                                       ; +0x66, 0x1800c1ab6\nmov     rax, [rax+8]                                                   ; +0x69, 0x1800c1ab9\ncmp     byte ptr [rax+19h], 0                                          ; +0x6d, 0x1800c1abd\njz      short loc_1800C1AB0                                            ; +0x71, 0x1800c1ac1\nmov     rbx, rax                                                       ; +0x73, 0x1800c1ac3\njmp     short loc_1800C1AEF                                            ; +0x76, 0x1800c1ac6\nmov     rcx, [rax]                                                     ; +0x78, 0x1800c1ac8\nmov     rbx, rax                                                       ; +0x7b, 0x1800c1acb\ncmp     byte ptr [rcx+19h], 0                                          ; +0x7e, 0x1800c1ace\njnz     short loc_1800C1AEF                                            ; +0x82, 0x1800c1ad2\nnop     dword ptr [rax+00h]                                            ; +0x84, 0x1800c1ad4\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x88, 0x1800c1ad8\nmov     rax, [rcx]                                                     ; +0x90, 0x1800c1ae0\nmov     rbx, rcx                                                       ; +0x93, 0x1800c1ae3\nmov     rcx, rax                                                       ; +0x96, 0x1800c1ae6\ncmp     byte ptr [rax+19h], 0                                          ; +0x99, 0x1800c1ae9\njz      short loc_1800C1AE0                                            ; +0x9d, 0x1800c1aed\nlea     rdx, [rsp+28h+arg_10]                                          ; +0x9f, 0x1800c1aef\nmov     rcx, rdi                                                       ; +0xa4, 0x1800c1af4\ncall    ?end@CCSet@cocos2d@@QEAA?AV?$_Tree_const_iterator@V?$_Tree_val@U?$_Tree_simple_types@PEAVCCObject@cocos2d@@@std@@@std@@@std@@XZ; cocos2d::CCSet::end(void) ; +0xa7, 0x1800c1af7\ncmp     rbx, [rax]                                                     ; +0xac, 0x1800c1afc\njnz     short loc_1800C1A90                                            ; +0xaf, 0x1800c1aff\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xb1, 0x1800c1b01\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xb6, 0x1800c1b06\nadd     rsp, 20h                                                       ; +0xbb, 0x1800c1b0b\npop     rdi                                                            ; +0xbf, 0x1800c1b0f\nretn                                                                   ; +0xc0, 0x1800c1b10", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b951c"], "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"}