// // cocos2d::CCSprite::setChildColor from 0x7f1300 to 0x7f1352 (82 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:01:04 +0000 // _DWORD *__fastcall cocos2d::CCSprite::setChildColor(_DWORD *result, int a2) { int v3; // r3 _DWORD *v4; // r2 void **v5; // r4 void **v6; // r5 _DWORD *v7; // t1 if ( *((_BYTE *)result + 298) ) { v3 = result[48]; if ( v3 ) { v4 = *(_DWORD **)(v3 + 52); if ( *v4 ) { v5 = (void **)v4[3]; v6 = &v5[*v4] + 0x3FFFFFFF; while ( v5 <= v6 ) { v7 = *v5++; result = v7; if ( !v7 ) break; result = _dynamic_cast( result, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCSprite, 0); if ( result ) result = (_DWORD *)(*(int (__fastcall **)(_DWORD *, int))(*result + 480))(result, a2); } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source