// // cocos2d::CCScheduler::update from 0x1800c6480 to 0x1800c66a7 (551 bytes) // // 3 xrefs: // > @ 0x18010dd78 // > @ 0x18014cf68 // > @ 0x1801c3918 // // 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::update(cocos2d::CCScheduler *this, float a2) { __int64 v3; // rcx __int64 v4; // rbx __int64 v5; // rcx __int64 v6; // rbx __int64 v7; // rcx __int64 v8; // rbx __int64 v9; // rbx _DWORD *v10; // rax __int64 v11; // rcx __int64 v12; // rcx struct cocos2d::_hashSelectorEntry *v13; // rdx cocos2d::CCArray *v14; // rcx signed int i; // ebx struct cocos2d::CCString *v16; // rax __int64 v17; // r8 __int64 v18; // rdx __int64 v19; // rbx __int64 v20; // rdx __int64 v21; // rbx __int64 v22; // rdx __int64 v23; // rbx *((_BYTE *)this + 113) = 1; v3 = *((_QWORD *)this + 8); if ( v3 ) { do { v4 = *(_QWORD *)(v3 + 8); if ( !*(_BYTE *)(v3 + 28) && !*(_BYTE *)(v3 + 29) ) (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(v3 + 16) + 32LL))(*(_QWORD *)(v3 + 16)); v3 = v4; } while ( v4 ); } v5 = *((_QWORD *)this + 9); if ( v5 ) { do { v6 = *(_QWORD *)(v5 + 8); if ( !*(_BYTE *)(v5 + 28) && !*(_BYTE *)(v5 + 29) ) (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(v5 + 16) + 32LL))(*(_QWORD *)(v5 + 16)); v5 = v6; } while ( v6 ); } v7 = *((_QWORD *)this + 10); if ( v7 ) { do { v8 = *(_QWORD *)(v7 + 8); if ( !*(_BYTE *)(v7 + 28) && !*(_BYTE *)(v7 + 29) ) (*(void (__fastcall **)(_QWORD))(**(_QWORD **)(v7 + 16) + 32LL))(*(_QWORD *)(v7 + 16)); v7 = v8; } while ( v8 ); } v9 = *((_QWORD *)this + 12); while ( v9 ) { *((_QWORD *)this + 13) = v9; *((_BYTE *)this + 112) = 0; if ( !*(_BYTE *)(v9 + 33) ) { v10 = *(_DWORD **)v9; *(_DWORD *)(v9 + 16) = 0; if ( *v10 ) { v11 = 0; do { v12 = *(_QWORD *)(*((_QWORD *)v10 + 2) + 8 * v11); *(_QWORD *)(v9 + 24) = v12; *(_BYTE *)(v9 + 32) = 0; (*(void (__fastcall **)(__int64))(*(_QWORD *)v12 + 32LL))(v12); if ( *(_BYTE *)(v9 + 32) ) cocos2d::CCObject::release(*(cocos2d::CCObject **)(v9 + 24)); v11 = (unsigned int)++*(_DWORD *)(v9 + 16); *(_QWORD *)(v9 + 24) = 0; v10 = *(_DWORD **)v9; } while ( (unsigned int)v11 < **(_DWORD **)v9 ); } } v9 = *(_QWORD *)(v9 + 56); if ( *((_BYTE *)this + 112) ) { v13 = *((struct cocos2d::_hashSelectorEntry **)this + 13); if ( !**(_DWORD **)v13 ) cocos2d::CCScheduler::removeHashElement(this, v13); } } v14 = *((cocos2d::CCArray **)this + 15); if ( v14 ) { for ( i = cocos2d::CCArray::count(v14) - 1; i >= 0; --i ) { v16 = cocos2d::CCArray::stringAtIndex(*((cocos2d::CCArray **)this + 15), i); if ( *((_BYTE *)v16 + 73) ) { LOBYTE(v17) = 1; cocos2d::CCArray::removeObjectAtIndex(*((cocos2d::CCArray **)this + 15), (unsigned int)i, v17); } else if ( !*((_BYTE *)v16 + 72) ) { (*(void (__fastcall **)(_QWORD))(**((_QWORD **)v16 + 8) + 32LL))(*((_QWORD *)v16 + 8)); } } } v18 = *((_QWORD *)this + 8); if ( v18 ) { do { v19 = *(_QWORD *)(v18 + 8); if ( *(_BYTE *)(v18 + 29) ) cocos2d::CCScheduler::removeUpdateFromHash(this, (struct cocos2d::_listEntry *)v18); v18 = v19; } while ( v19 ); } v20 = *((_QWORD *)this + 9); if ( v20 ) { do { v21 = *(_QWORD *)(v20 + 8); if ( *(_BYTE *)(v20 + 29) ) cocos2d::CCScheduler::removeUpdateFromHash(this, (struct cocos2d::_listEntry *)v20); v20 = v21; } while ( v21 ); } v22 = *((_QWORD *)this + 10); if ( v22 ) { do { v23 = *(_QWORD *)(v22 + 8); if ( *(_BYTE *)(v22 + 29) ) cocos2d::CCScheduler::removeUpdateFromHash(this, (struct cocos2d::_listEntry *)v22); v22 = v23; } while ( v23 ); } *((_QWORD *)this + 13) = 0; *((_BYTE *)this + 113) = 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source