// // cocos2d::CCScheduler::scheduleUpdateForTarget from 0x1800c5ac0 to 0x1800c5c4b (395 bytes) // // 6 xrefs: // > cocos2d::CCNode::scheduleUpdate @ 0x180004a48 // > cocos2d::CCNode::scheduleUpdateWithPriority @ 0x180004a68 // > cocos2d::CCNode::scheduleUpdateWithPriorityLua @ 0x180004ae0 // > cocos2d::CCDirector::init @ 0x1800c2139 // > @ 0x18014cf68 // > @ 0x1801c3810 // // 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::scheduleUpdateForTarget( cocos2d::CCScheduler *this, struct cocos2d::CCObject *a2, int a3, char a4) { __int64 v4; // rsi __int64 v9; // r10 int v10; // r8d int v11; // edx unsigned int v12; // ecx int v13; // r8d unsigned int v14; // edx unsigned int v15; // ecx int v16; // r8d __int64 v17; // rax __int64 v18; // rdx __int64 v19; // rax __int64 v20; // rcx struct cocos2d::_listEntry **v21; // rdx int v22; // [rsp+48h] [rbp+10h] v22 = (int)a2; v4 = *((_QWORD *)this + 11); if ( !v4 ) goto LABEL_8; v9 = *(_QWORD *)(v4 + 24); v10 = (((BYTE1(a2) + ((BYTE2(a2) + (BYTE3(a2) << 8)) << 8)) << 8) + (unsigned __int8)a2 + 17973517) ^ 0x7F76D; v11 = (v10 << 8) ^ (-1622558010 - v10); v12 = (((((((BYTE1(v22) + ((BYTE2(v22) + (HIBYTE(v22) << 8)) << 8)) << 8) + (unsigned __int8)a2 + 17973517) ^ 0x7F76D) << 8) ^ (unsigned int)(-1622558010 - v10)) >> 13) ^ (-17973517 - v11 - v10); v13 = (v12 >> 12) ^ (v10 - v12 - v11); v14 = (v13 << 16) ^ (v11 - v12 - v13); v15 = (v14 >> 5) ^ (v12 - v14 - v13); v16 = (v15 >> 3) ^ (v13 - v15 - v14); v17 = *(_QWORD *)(*(_QWORD *)v9 + 16 * ((unsigned int)(*(_DWORD *)(v9 + 8) - 1) & (((unsigned __int64)((v16 << 10) ^ (v14 - v16 - v15)) >> 15) ^ (v15 - ((v16 << 10) ^ (v14 - v16 - v15)) - v16)))); if ( !v17 ) goto LABEL_8; v18 = *(_QWORD *)(v9 + 32); v19 = v17 - v18; if ( v19 ) { while ( *(_DWORD *)(v19 + 72) != 4 || **(_DWORD **)(v19 + 64) != (_DWORD)a2 ) { v20 = *(_QWORD *)(v19 + 56); if ( v20 ) { v19 = v20 - v18; if ( v20 != v18 ) continue; } goto LABEL_8; } *(_BYTE *)(*(_QWORD *)(v19 + 8) + 28LL) = a4; *(_BYTE *)(*(_QWORD *)(v19 + 8) + 29LL) = 0; } else { LABEL_8: if ( a3 ) { v21 = (struct cocos2d::_listEntry **)((char *)this + 64); if ( a3 >= 0 ) v21 = (struct cocos2d::_listEntry **)((char *)this + 80); cocos2d::CCScheduler::priorityIn(this, v21, a2, a3, a4); } else { cocos2d::CCScheduler::appendIn(this, (struct cocos2d::_listEntry **)this + 9, a2, a4); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source