// // cocos2d::CCScheduler::unscheduleAllForTarget from 0x100240324 to 0x1002404c8 (420 bytes) // // 4 xrefs: // > cocos2d::CCScheduler::unscheduleAllWithMinPriority @ 0x100240270 // > cocos2d::CCNode::cleanup @ 0x1002d8730 // > cocos2d::CCNode::unscheduleAllSelectors @ 0x1002d87b8 // > cocos2d::CCNode::setScheduler @ 0x1002d94f8 // // 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 11:01:23 +0000 // _DWORD *__fastcall cocos2d::CCScheduler::unscheduleAllForTarget(_DWORD *result, __int64 a2) { __int64 v3; // x20 __int64 v4; // x8 int v5; // w9 unsigned int v6; // w10 unsigned int v7; // w11 int v8; // w9 unsigned int v9; // w10 unsigned int v10; // w11 int v11; // w9 __int64 v12; // x8 __int64 v13; // x9 __int64 v14; // x8 _QWORD *v15; // x21 if ( a2 ) { v3 = (__int64)result; v4 = *((_QWORD *)result + 12); if ( v4 ) { v5 = (a2 + 17973517) ^ 0x7F76D; v6 = (-1622558010 - v5) ^ (v5 << 8); v7 = (-17973517 - v5 - v6) ^ (v6 >> 13); v8 = (v5 - v6 - v7) ^ (v7 >> 12); v9 = (v6 - v7 - v8) ^ (v8 << 16); v10 = (v7 - v8 - v9) ^ (v9 >> 5); v11 = (v8 - v9 - v10) ^ (v10 >> 3); v12 = *(_QWORD *)(v4 + 40); v13 = *(_QWORD *)(*(_QWORD *)v12 + 16LL * (((v10 - v11 - ((v9 - v10 - v11) ^ (v11 << 10))) ^ (((v9 - v10 - v11) ^ (v11 << 10)) >> 15)) & (*(_DWORD *)(v12 + 8) - 1))); if ( v13 ) { v14 = -*(_QWORD *)(v12 + 32); while ( 1 ) { v15 = (_QWORD *)(v13 + v14); if ( *(_DWORD *)(v13 + v14 + 88) == 4 && *(_DWORD *)v15[10] == (_DWORD)a2 ) break; v13 = v15[9]; if ( !v13 ) return cocos2d::CCScheduler::unscheduleUpdateForTarget((_DWORD *)v3, a2); } if ( (unsigned int)sub_1003F2F38(*v15, v15[3]) && (v15[4] & 1) == 0 ) { cocos2d::CCObject::retain(v15[3]); *((_BYTE *)v15 + 32) = 1; } sub_1003F2E34(*v15); if ( *(_QWORD **)(v3 + 104) == v15 ) *(_BYTE *)(v3 + 112) = 1; else cocos2d::CCScheduler::removeHashElement(v3, (__int64)v15); } } return cocos2d::CCScheduler::unscheduleUpdateForTarget((_DWORD *)v3, a2); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source