{"type": "func", "start": 6443258880, "end": 6443258965, "name": "cocos2d::CCScheduler::scheduleScriptFunc", "pseudocode": "// \n// cocos2d::CCScheduler::scheduleScriptFunc from 0x1800c5400 to 0x1800c5455 (85 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c37ec\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\n__int64 __fastcall cocos2d::CCScheduler::scheduleScriptFunc(cocos2d::CCScheduler *this, int a2, float a3, char a4)\n{\n  unsigned int *v5; // rdi\n  struct cocos2d::CCArray *v6; // rax\n\n  v5 = (unsigned int *)cocos2d::CCSchedulerScriptHandlerEntry::create(a2, a3, a4);\n  if ( !*((_QWORD *)this + 15) )\n  {\n    v6 = cocos2d::CCArray::createWithCapacity(0x14u);\n    *((_QWORD *)this + 15) = v6;\n    cocos2d::CCObject::retain(v6);\n  }\n  cocos2d::CCArray::addObject(*((cocos2d::CCArray **)this + 15), (struct cocos2d::CCObject *)v5);\n  return v5[15];\n}", "assembly": "; \n; cocos2d::CCScheduler::scheduleScriptFunc from 0x1800c5400 to 0x1800c5455 (85 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c37ec\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, 0x1800c5400\npush    rdi                                                            ; +0x5, 0x1800c5405\nsub     rsp, 20h                                                       ; +0x6, 0x1800c5406\nmov     rbx, rcx                                                       ; +0xa, 0x1800c540a\nmovzx   r8d, r9b                                                       ; +0xd, 0x1800c540d\nmov     ecx, edx                                                       ; +0x11, 0x1800c5411\nmovaps  xmm1, xmm2                                                     ; +0x13, 0x1800c5413\ncall    cocos2d__CCSchedulerScriptHandlerEntry__create                 ; +0x16, 0x1800c5416\ncmp     qword ptr [rbx+78h], 0                                         ; +0x1b, 0x1800c541b\nmov     rdi, rax                                                       ; +0x20, 0x1800c5420\njnz     short loc_1800C543B                                            ; +0x23, 0x1800c5423\nmov     ecx, 14h; Count                                                ; +0x25, 0x1800c5425\ncall    ?createWithCapacity@CCArray@cocos2d@@SAPEAV12@I@Z; cocos2d::CCArray::createWithCapacity(uint) ; +0x2a, 0x1800c542a\nmov     rcx, rax; this                                                 ; +0x2f, 0x1800c542f\nmov     [rbx+78h], rax                                                 ; +0x32, 0x1800c5432\ncall    ?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x36, 0x1800c5436\nmov     rcx, [rbx+78h]; this                                           ; +0x3b, 0x1800c543b\nmov     rdx, rdi; struct cocos2d::CCObject *                           ; +0x3f, 0x1800c543f\ncall    ?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x42, 0x1800c5442\nmov     eax, [rdi+3Ch]                                                 ; +0x47, 0x1800c5447\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4a, 0x1800c544a\nadd     rsp, 20h                                                       ; +0x4f, 0x1800c544f\npop     rdi                                                            ; +0x53, 0x1800c5453\nretn                                                                   ; +0x54, 0x1800c5454", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801c37ec"], "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"}