// // cocos2d::CCScheduler::scheduleUpdateForTarget from 0x7b5564 to 0x7b5658 (244 bytes) // // 5 xrefs: // > cocos2d::extension::AssetsManager::Helper::Helper @ 0x7a5792 // > cocos2d::extension::WsThreadHelper::WsThreadHelper @ 0x7b2d90 // > cocos2d::CCNode::scheduleUpdateWithPriority @ 0x7c4c8e // > cocos2d::CCNode::scheduleUpdateWithPriorityLua @ 0x7c4ce8 // > cocos2d::CCDirector::init @ 0x7c9fc8 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:00:10 +0000 // int __fastcall cocos2d::CCScheduler::scheduleUpdateForTarget( cocos2d::CCScheduler *this, cocos2d::CCObject *a2, int a3, char a4) { int v5; // r3 _DWORD *v8; // r8 int v9; // r0 unsigned int v10; // r1 unsigned int v11; // r2 int v12; // r0 unsigned int v13; // r1 unsigned int v14; // r2 int v15; // r0 int v16; // r7 int result; // r0 int v18; // r3 int **v19; // r1 cocos2d::CCObject *v20; // [sp+Ch] [bp-8h] BYREF v5 = *((_DWORD *)this + 17); v20 = a2; if ( v5 ) { v8 = *(_DWORD **)(v5 + 12); v9 = ((unsigned __int8)v20 + 17973517 + (HIBYTE(v20) << 24) + (BYTE2(v20) << 16) + (BYTE1(v20) << 8)) ^ 0x7F76D; v10 = (-1622558010 - v9) ^ (v9 << 8); v11 = (-17973517 - v9 - v10) ^ (v10 >> 13); v12 = (v9 - v10 - v11) ^ (v11 >> 12); v13 = (v10 - v11 - v12) ^ (v12 << 16); v14 = (v11 - v12 - v13) ^ (v13 >> 5); v15 = (v12 - v13 - v14) ^ (v14 >> 3); v16 = *(_DWORD *)(*v8 + 12 * (((v14 - v15 - ((v13 - v14 - v15) ^ (v15 << 10))) ^ (((v13 - v14 - v15) ^ (v15 << 10)) >> 15)) & (v8[1] - 1))); if ( v16 ) v16 -= v8[5]; while ( v16 ) { if ( *(_DWORD *)(v16 + 36) == 4 ) { result = memcmp(*(const void **)(v16 + 32), &v20, 4u); if ( !result ) { *(_BYTE *)(*(_DWORD *)(v16 + 4) + 16) = a4; *(_BYTE *)(*(_DWORD *)(v16 + 4) + 17) = 0; return result; } } v18 = *(_DWORD *)(v16 + 28); if ( !v18 ) break; v16 = v18 - v8[5]; } } if ( !a3 ) return cocos2d::CCScheduler::appendIn((int)this, (_DWORD **)this + 15, v20, a4); if ( a3 >= 0 ) v19 = (int **)((char *)this + 64); else v19 = (int **)((char *)this + 56); return cocos2d::CCScheduler::priorityIn((int)this, v19, v20, a3, a4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source