// // cocos2d::CCScheduler::unscheduleAllForTarget from 0x1800c5e60 to 0x1800c5fde (382 bytes) // // 8 xrefs: // > cocos2d::CCNode::cleanup @ 0x180002e12 // > cocos2d::CCNode::setScheduler @ 0x18000505f // > cocos2d::CCNode::unscheduleAllSelectors @ 0x18000557a // > cocos2d::CCScheduler::unscheduleAllWithMinPriority @ 0x1800c601b // > @ 0x18014b554 // > @ 0x18014b564 // > @ 0x18014cf68 // > @ 0x1801c3840 // // This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:22:27 +0000 // void __fastcall cocos2d::CCScheduler::unscheduleAllForTarget(cocos2d::CCScheduler *this, struct cocos2d::CCObject *a2) { __int64 v2; // r10 __int64 v5; // r8 int v6; // r9d unsigned int v7; // edx unsigned int v8; // ecx int v9; // r9d unsigned int v10; // edx unsigned int v11; // ecx int v12; // r9d __int64 v13; // rbx __int64 v14; // rcx __int64 v15; // rbx __int64 v16; // rax if ( a2 ) { v2 = *((_QWORD *)this + 12); if ( v2 ) { v5 = *(_QWORD *)(v2 + 40); v6 = (((BYTE1(a2) + ((BYTE2(a2) + (BYTE3(a2) << 8)) << 8)) << 8) + (unsigned __int8)a2 + 17973517) ^ 0x7F76D; v7 = (v6 << 8) ^ (-1622558010 - v6); v8 = (v7 >> 13) ^ (-17973517 - v7 - v6); v9 = (v8 >> 12) ^ (v6 - v8 - v7); v10 = (v9 << 16) ^ (v7 - v8 - v9); v11 = (v10 >> 5) ^ (v8 - v10 - v9); v12 = (v11 >> 3) ^ (v9 - v11 - v10); v13 = *(_QWORD *)(*(_QWORD *)v5 + 16 * ((unsigned int)(*(_DWORD *)(v5 + 8) - 1) & (((unsigned __int64)((v12 << 10) ^ (v10 - v12 - v11)) >> 15) ^ (v11 - ((v12 << 10) ^ (v10 - v12 - v11)) - v12)))); if ( v13 ) { v14 = *(_QWORD *)(v5 + 32); v15 = v13 - v14; if ( v15 ) { while ( *(_DWORD *)(v15 + 88) != 4 || **(_DWORD **)(v15 + 80) != (_DWORD)a2 ) { v16 = *(_QWORD *)(v15 + 72); if ( v16 ) { v15 = v16 - v14; if ( v16 != v14 ) continue; } goto LABEL_16; } if ( sub_1800A1470(*(_QWORD *)v15, *(_QWORD *)(v15 + 24)) && !*(_BYTE *)(v15 + 32) ) { cocos2d::CCObject::retain(*(cocos2d::CCObject **)(v15 + 24)); *(_BYTE *)(v15 + 32) = 1; } sub_1800A19E0(*(unsigned int **)v15); if ( *((_QWORD *)this + 13) == v15 ) *((_BYTE *)this + 112) = 1; else cocos2d::CCScheduler::removeHashElement(this, (struct cocos2d::_hashSelectorEntry *)v15); } } } LABEL_16: cocos2d::CCScheduler::unscheduleUpdateForTarget(this, a2); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source