{"type": "func", "start": 6443258672, "end": 6443258865, "name": "cocos2d::CCScheduler::resumeTargets", "pseudocode": "// \n// cocos2d::CCScheduler::resumeTargets from 0x1800c5330 to 0x1800c53f1 (193 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c37e0\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::CCScheduler::resumeTargets(cocos2d::CCScheduler *this, struct cocos2d::CCSet *a2)\n{\n  __int64 *v4; // rbx\n  __int64 **v5; // rcx\n  __int64 *i; // rax\n  __int64 *j; // rcx\n  __int64 v8; // [rsp+40h] [rbp+18h] BYREF\n  __int64 v9; // [rsp+48h] [rbp+20h] BYREF\n\n  v4 = (__int64 *)*cocos2d::CCSet::begin((__int64)a2, &v9);\n  while ( v4 != (__int64 *)*cocos2d::CCSet::end((__int64)a2, &v8) )\n  {\n    cocos2d::CCScheduler::resumeTarget(this, (struct cocos2d::CCObject *)v4[4]);\n    v5 = (__int64 **)v4[2];\n    if ( *((_BYTE *)v5 + 25) )\n    {\n      for ( i = (__int64 *)v4[1]; !*((_BYTE *)i + 25); i = (__int64 *)i[1] )\n      {\n        if ( v4 != (__int64 *)i[2] )\n          break;\n        v4 = i;\n      }\n      v4 = i;\n    }\n    else\n    {\n      v4 = (__int64 *)v4[2];\n      for ( j = *v5; !*((_BYTE *)j + 25); j = (__int64 *)*j )\n        v4 = j;\n    }\n  }\n}", "assembly": "; \n; cocos2d::CCScheduler::resumeTargets from 0x1800c5330 to 0x1800c53f1 (193 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c37e0\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, 0x1800c5330\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1800c5335\npush    rdi                                                            ; +0xa, 0x1800c533a\nsub     rsp, 20h                                                       ; +0xb, 0x1800c533b\nmov     rdi, rdx                                                       ; +0xf, 0x1800c533f\nmov     rsi, rcx                                                       ; +0x12, 0x1800c5342\nmov     rcx, rdi                                                       ; +0x15, 0x1800c5345\nlea     rdx, [rsp+28h+arg_18]                                          ; +0x18, 0x1800c5348\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, 0x1800c534d\nlea     rdx, [rsp+28h+arg_10]                                          ; +0x22, 0x1800c5352\nmov     rcx, rdi                                                       ; +0x27, 0x1800c5357\nmov     rbx, [rax]                                                     ; +0x2a, 0x1800c535a\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, 0x1800c535d\ncmp     rbx, [rax]                                                     ; +0x32, 0x1800c5362\njz      short loc_1800C53E1                                            ; +0x35, 0x1800c5365\nnop     word ptr [rax+rax+00000000h]                                   ; +0x37, 0x1800c5367\nmov     rdx, [rbx+20h]; struct cocos2d::CCObject *                     ; +0x40, 0x1800c5370\nmov     rcx, rsi; this                                                 ; +0x44, 0x1800c5374\ncall    ?resumeTarget@CCScheduler@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCScheduler::resumeTarget(cocos2d::CCObject *) ; +0x47, 0x1800c5377\nmov     rcx, [rbx+10h]                                                 ; +0x4c, 0x1800c537c\ncmp     byte ptr [rcx+19h], 0                                          ; +0x50, 0x1800c5380\njz      short loc_1800C53A8                                            ; +0x54, 0x1800c5384\nmov     rax, [rbx+8]                                                   ; +0x56, 0x1800c5386\ncmp     byte ptr [rax+19h], 0                                          ; +0x5a, 0x1800c538a\njnz     short loc_1800C53A3                                            ; +0x5e, 0x1800c538e\ncmp     rbx, [rax+10h]                                                 ; +0x60, 0x1800c5390\njnz     short loc_1800C53A3                                            ; +0x64, 0x1800c5394\nmov     rbx, rax                                                       ; +0x66, 0x1800c5396\nmov     rax, [rax+8]                                                   ; +0x69, 0x1800c5399\ncmp     byte ptr [rax+19h], 0                                          ; +0x6d, 0x1800c539d\njz      short loc_1800C5390                                            ; +0x71, 0x1800c53a1\nmov     rbx, rax                                                       ; +0x73, 0x1800c53a3\njmp     short loc_1800C53CF                                            ; +0x76, 0x1800c53a6\nmov     rbx, rcx                                                       ; +0x78, 0x1800c53a8\nmov     rcx, [rcx]                                                     ; +0x7b, 0x1800c53ab\ncmp     byte ptr [rcx+19h], 0                                          ; +0x7e, 0x1800c53ae\njnz     short loc_1800C53CF                                            ; +0x82, 0x1800c53b2\nnop     dword ptr [rax+00h]                                            ; +0x84, 0x1800c53b4\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x88, 0x1800c53b8\nmov     rax, [rcx]                                                     ; +0x90, 0x1800c53c0\nmov     rbx, rcx                                                       ; +0x93, 0x1800c53c3\nmov     rcx, rax                                                       ; +0x96, 0x1800c53c6\ncmp     byte ptr [rax+19h], 0                                          ; +0x99, 0x1800c53c9\njz      short loc_1800C53C0                                            ; +0x9d, 0x1800c53cd\nlea     rdx, [rsp+28h+arg_10]                                          ; +0x9f, 0x1800c53cf\nmov     rcx, rdi                                                       ; +0xa4, 0x1800c53d4\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, 0x1800c53d7\ncmp     rbx, [rax]                                                     ; +0xac, 0x1800c53dc\njnz     short loc_1800C5370                                            ; +0xaf, 0x1800c53df\nmov     rbx, [rsp+28h+arg_0]                                           ; +0xb1, 0x1800c53e1\nmov     rsi, [rsp+28h+arg_8]                                           ; +0xb6, 0x1800c53e6\nadd     rsp, 20h                                                       ; +0xbb, 0x1800c53eb\npop     rdi                                                            ; +0xbf, 0x1800c53ef\nretn                                                                   ; +0xc0, 0x1800c53f0", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801c37e0"], "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"}