// // cocos2d::CCScheduler::scheduleUpdateForTarget from 0xd23cac to 0xd23e70 (452 bytes) // // 6 xrefs: // > cocos2d::extension::AssetsManager::Helper::Helper @ 0xd099cc // > cocos2d::extension::WsThreadHelper::WsThreadHelper @ 0xd1f738 // > cocos2d::CCNode::scheduleUpdateWithPriority @ 0xd3f014 // > cocos2d::CCNode::scheduleUpdateWithPriorityLua @ 0xd3f0ac // > cocos2d::CCDirector::init @ 0xd48b7c // > @ 0xfa618 // // 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::scheduleUpdateForTarget( cocos2d::CCScheduler *this, cocos2d::CCObject *a2, int a3, char a4) { __int64 v5; // x5 int v8; // w0 unsigned int v9; // w2 unsigned int v10; // w1 __int64 v11; // x23 int v12; // w0 unsigned int v13; // w2 unsigned int v14; // w1 int v15; // w0 __int64 v16; // x0 __int64 v17; // x19 __int64 v18; // x0 __int64 result; // x0 cocos2d::CCObject *v20; // [xsp+48h] [xbp+48h] BYREF v20 = a2; v5 = *((_QWORD *)this + 11); if ( !v5 ) goto LABEL_8; v8 = ((unsigned __int8)v20 + 17973517 + (BYTE3(v20) << 24) + (BYTE2(v20) << 16) + (BYTE1(v20) << 8)) ^ 0x7F76D; v9 = (-1622558010 - v8) ^ (v8 << 8); v10 = (-17973517 - v8 - v9) ^ (v9 >> 13); v11 = *(_QWORD *)(v5 + 24); v12 = (v8 - v9 - v10) ^ (v10 >> 12); v13 = (v9 - v10 - v12) ^ (v12 << 16); v14 = (v10 - v12 - v13) ^ (v13 >> 5); v15 = (v12 - v13 - v14) ^ (v14 >> 3); v16 = *(_QWORD *)(*(_QWORD *)v11 + 16LL * (((v14 - v15 - ((v13 - v14 - v15) ^ (v15 << 10))) ^ (((v13 - v14 - v15) ^ (v15 << 10)) >> 15)) & (*(_DWORD *)(v11 + 8) - 1))); v17 = v16 ? v16 - *(_QWORD *)(v11 + 32) : 0LL; if ( v17 ) { while ( *(_DWORD *)(v17 + 72) != 4 || memcmp(*(const void **)(v17 + 64), &v20, 4u) ) { v18 = *(_QWORD *)(v17 + 56); if ( v18 ) { v17 = v18 - *(_QWORD *)(v11 + 32); if ( v17 ) continue; } goto LABEL_8; } *(_BYTE *)(*(_QWORD *)(v17 + 8) + 28LL) = a4; result = *(_QWORD *)(v17 + 8); *(_BYTE *)(result + 29) = 0; } else { LABEL_8: if ( a3 ) { if ( a3 < 0 ) return cocos2d::CCScheduler::priorityIn((__int64)this, (_QWORD **)this + 8, v20, a3, a4); else return cocos2d::CCScheduler::priorityIn((__int64)this, (_QWORD **)this + 10, v20, a3, a4); } else { return cocos2d::CCScheduler::appendIn((__int64)this, (_QWORD **)this + 9, v20, a4); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source