// // cocos2d::CCScheduler::update from 0x7b581c to 0x7b5988 (364 bytes) // // 0 xrefs: // // 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::update(cocos2d::CCScheduler *this, float a2) { float v3; // s16 float v4; // s15 int v5; // r3 int v6; // r5 int i; // r3 int v8; // r5 int j; // r3 int v10; // r5 int v11; // r5 int v12; // r3 int v13; // r0 int v14; // r3 unsigned int *v15; // r2 unsigned int v16; // r3 _DWORD *v17; // r1 int result; // r0 int m; // r1 signed int k; // r5 int v21; // r5 int n; // r1 int v23; // r5 int ii; // r1 int v25; // r5 *((_BYTE *)this + 81) = 1; v3 = a2; v4 = *((float *)this + 13); v5 = *((_DWORD *)this + 14); if ( v4 != 1.0 ) v3 = a2 * v4; while ( v5 ) { v6 = *(_DWORD *)(v5 + 4); if ( !*(_BYTE *)(v5 + 16) && !*(_BYTE *)(v5 + 17) ) (*(void (__fastcall **)(_DWORD, float))(**(_DWORD **)(v5 + 8) + 20))( *(_DWORD *)(v5 + 8), COERCE_FLOAT(LODWORD(v3))); v5 = v6; } for ( i = *((_DWORD *)this + 15); i; i = v8 ) { v8 = *(_DWORD *)(i + 4); if ( !*(_BYTE *)(i + 16) && !*(_BYTE *)(i + 17) ) (*(void (__fastcall **)(_DWORD, float))(**(_DWORD **)(i + 8) + 20))(*(_DWORD *)(i + 8), COERCE_FLOAT(LODWORD(v3))); } for ( j = *((_DWORD *)this + 16); j; j = v10 ) { v10 = *(_DWORD *)(j + 4); if ( !*(_BYTE *)(j + 16) && !*(_BYTE *)(j + 17) ) (*(void (__fastcall **)(_DWORD, float))(**(_DWORD **)(j + 8) + 20))(*(_DWORD *)(j + 8), COERCE_FLOAT(LODWORD(v3))); } v11 = *((_DWORD *)this + 18); while ( v11 ) { *((_DWORD *)this + 19) = v11; *((_BYTE *)this + 80) = 0; v12 = *(unsigned __int8 *)(v11 + 17); if ( !*(_BYTE *)(v11 + 17) ) { while ( 1 ) { v15 = *(unsigned int **)v11; *(_DWORD *)(v11 + 8) = v12; v16 = *(_DWORD *)(v11 + 8); if ( v16 >= *v15 ) break; v13 = *(_DWORD *)(v15[3] + 4 * v16); *(_BYTE *)(v11 + 16) = 0; *(_DWORD *)(v11 + 12) = v13; (*(void (__fastcall **)(int, float))(*(_DWORD *)v13 + 20))(v13, COERCE_FLOAT(LODWORD(v3))); if ( *(_BYTE *)(v11 + 16) ) cocos2d::CCObject::release(*(cocos2d::CCObject **)(v11 + 12)); v14 = *(_DWORD *)(v11 + 8); *(_DWORD *)(v11 + 12) = 0; v12 = v14 + 1; } } v11 = *(_DWORD *)(v11 + 28); if ( *((_BYTE *)this + 80) ) { v17 = *((_DWORD **)this + 19); if ( !*(_DWORD *)*v17 ) cocos2d::CCScheduler::removeHashElement((int)this, v17); } } result = *((_DWORD *)this + 21); if ( result ) { result = cocos2d::CCArray::count((cocos2d::CCArray *)result); for ( k = result - 1; k >= 0; --k ) { result = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 21), k); if ( *(_BYTE *)(result + 65) ) { result = cocos2d::CCArray::removeObjectAtIndex(*((cocos2d::CCArray **)this + 21), k, 1); } else if ( !*(_BYTE *)(result + 64) ) { result = (*(int (__fastcall **)(_DWORD, float))(**(_DWORD **)(result + 60) + 20))( *(_DWORD *)(result + 60), COERCE_FLOAT(LODWORD(v3))); } } } for ( m = *((_DWORD *)this + 14); m; m = v21 ) { v21 = *(_DWORD *)(m + 4); if ( *(_BYTE *)(m + 17) ) result = cocos2d::CCScheduler::removeUpdateFromHash((int)this, (unsigned __int8 *)m); } for ( n = *((_DWORD *)this + 15); n; n = v23 ) { v23 = *(_DWORD *)(n + 4); if ( *(_BYTE *)(n + 17) ) result = cocos2d::CCScheduler::removeUpdateFromHash((int)this, (unsigned __int8 *)n); } for ( ii = *((_DWORD *)this + 16); ii; ii = v25 ) { v25 = *(_DWORD *)(ii + 4); if ( *(_BYTE *)(ii + 17) ) result = cocos2d::CCScheduler::removeUpdateFromHash((int)this, (unsigned __int8 *)ii); } *((_BYTE *)this + 81) = 0; *((_DWORD *)this + 19) = 0; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source