{"type": "func", "start": 6443247568, "end": 6443247661, "name": "cocos2d::CCScheduler::unscheduleScriptEntry", "pseudocode": "// \n// cocos2d::CCScheduler::unscheduleScriptEntry from 0x1800c27d0 to 0x1800c282d (93 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b95c4\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::unscheduleScriptEntry(cocos2d::CCScheduler *this, int a2)\n{\n  int v4; // ebx\n  struct cocos2d::CCString *v5; // rax\n\n  v4 = cocos2d::CCArray::count(this->m_pScriptHandlerEntries) - 1;\n  if ( v4 >= 0 )\n  {\n    while ( 1 )\n    {\n      v5 = cocos2d::CCArray::stringAtIndex(this->m_pScriptHandlerEntries, v4);\n      if ( HIDWORD(v5->m_sString.m_data.m_bigStorage) == a2 )\n        break;\n      if ( --v4 < 0 )\n        return;\n    }\n    BYTE1(v5->m_sString.m_data.m_size) = 1;\n  }\n}", "assembly": "; \n; cocos2d::CCScheduler::unscheduleScriptEntry from 0x1800c27d0 to 0x1800c282d (93 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b95c4\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, 0x1800c27d0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1800c27d5\npush    rdi                                                            ; +0xa, 0x1800c27da\nsub     rsp, 20h                                                       ; +0xb, 0x1800c27db\nmov     rdi, rcx                                                       ; +0xf, 0x1800c27df\nmov     esi, edx                                                       ; +0x12, 0x1800c27e2\nmov     rcx, [rcx+78h]; this                                           ; +0x14, 0x1800c27e4\ncall    ?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x18, 0x1800c27e8\nmov     ebx, eax                                                       ; +0x1d, 0x1800c27ed\nsub     ebx, 1                                                         ; +0x1f, 0x1800c27ef\njs      short loc_1800C281D                                            ; +0x22, 0x1800c27f2\nmov     rcx, [rdi+78h]; this                                           ; +0x24, 0x1800c27f4\nmov     edx, ebx; unsigned int                                         ; +0x28, 0x1800c27f8\ncall    ?stringAtIndex@CCArray@cocos2d@@QEAAPEAVCCString@2@I@Z; cocos2d::CCArray::stringAtIndex(uint) ; +0x2a, 0x1800c27fa\ncmp     [rax+3Ch], esi                                                 ; +0x2f, 0x1800c27ff\njz      short loc_1800C2819                                            ; +0x32, 0x1800c2802\nsub     ebx, 1                                                         ; +0x34, 0x1800c2804\njns     short loc_1800C27F4                                            ; +0x37, 0x1800c2807\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x39, 0x1800c2809\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x3e, 0x1800c280e\nadd     rsp, 20h                                                       ; +0x43, 0x1800c2813\npop     rdi                                                            ; +0x47, 0x1800c2817\nretn                                                                   ; +0x48, 0x1800c2818\nmov     byte ptr [rax+49h], 1                                          ; +0x49, 0x1800c2819\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4d, 0x1800c281d\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x52, 0x1800c2822\nadd     rsp, 20h                                                       ; +0x57, 0x1800c2827\npop     rdi                                                            ; +0x5b, 0x1800c282b\nretn                                                                   ; +0x5c, 0x1800c282c", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b95c4"], "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"}