// // cocos2d::CCScheduler::unscheduleUpdateForTarget from 0xd24490 to 0xd24610 (384 bytes) // // 8 xrefs: // > cocos2d::CCScheduler::unscheduleAllForTarget @ 0xd24734 // > cocos2d::CCScheduler::unscheduleAllForTarget @ 0xd247b4 // > cocos2d::CCScheduler::unscheduleAllForTarget @ 0xd247cc // > cocos2d::CCScheduler::unscheduleAllWithMinPriority @ 0xd24850 // > cocos2d::CCScheduler::unscheduleAllWithMinPriority @ 0xd248a0 // > cocos2d::CCScheduler::unscheduleAllWithMinPriority @ 0xd248c0 // > cocos2d::CCNode::unscheduleUpdate @ 0xd3f038 // > @ 0xc3ee0 // // This function is hookable on this platform (idp: arm, 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 13:07:13 +0000 // __int64 __fastcall cocos2d::CCScheduler::unscheduleUpdateForTarget(__int64 this, const cocos2d::CCObject *a2) { __int64 v2; // x6 int v3; // w1 unsigned int v4; // w3 unsigned int v5; // w2 __int64 v6; // x20 int v7; // w1 unsigned int v8; // w3 unsigned int v9; // w2 int v10; // w1 __int64 v11; // x1 __int64 v12; // x19 __int64 v13; // x22 __int64 v14; // x1 const cocos2d::CCObject *v15; // [xsp+38h] [xbp+38h] BYREF v15 = a2; if ( a2 ) { v2 = *(_QWORD *)(this + 88); if ( v2 ) { v3 = ((unsigned __int8)v15 + 17973517 + (BYTE3(v15) << 24) + (BYTE2(v15) << 16) + (BYTE1(v15) << 8)) ^ 0x7F76D; v4 = (-1622558010 - v3) ^ (v3 << 8); v5 = (-17973517 - v3 - v4) ^ (v4 >> 13); v6 = *(_QWORD *)(v2 + 24); v7 = (v3 - v4 - v5) ^ (v5 >> 12); v8 = (v4 - v5 - v7) ^ (v7 << 16); v9 = (v5 - v7 - v8) ^ (v8 >> 5); v10 = (v7 - v8 - v9) ^ (v9 >> 3); v11 = *(_QWORD *)(*(_QWORD *)v6 + 16LL * (((v9 - v10 - ((v8 - v9 - v10) ^ (v10 << 10))) ^ (((v8 - v9 - v10) ^ (v10 << 10)) >> 15)) & (*(_DWORD *)(v6 + 8) - 1))); v12 = v11 ? v11 - *(_QWORD *)(v6 + 32) : 0LL; v13 = this; if ( v12 ) { while ( 1 ) { if ( *(_DWORD *)(v12 + 72) == 4 ) { this = memcmp(*(const void **)(v12 + 64), &v15, 4u); if ( !(_DWORD)this ) break; } v14 = *(_QWORD *)(v12 + 56); if ( v14 ) { v12 = v14 - *(_QWORD *)(v6 + 32); if ( v12 ) continue; } return this; } if ( *(_BYTE *)(v13 + 113) ) { this = *(_QWORD *)(v12 + 8); *(_BYTE *)(this + 29) = 1; } else { return cocos2d::CCScheduler::removeUpdateFromHash(v13, *(unsigned __int8 **)(v12 + 8)); } } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source