// // cocos2d::CCSprite::setChildColor from 0xd86da4 to 0xd86e50 (172 bytes) // // 34 xrefs: // > @ 0x83158 // > @ 0x1413a28 // > @ 0x1413fe8 // > @ 0x1414d98 // > @ 0x1417608 // > @ 0x1417ba8 // > @ 0x141b4c8 // > @ 0x141baf8 // > @ 0x141cf78 // > @ 0x1421ba8 // > @ 0x1422158 // > @ 0x1423b18 // > @ 0x14240c8 // > @ 0x1424698 // > @ 0x1429078 // > @ 0x1433ee8 // > @ 0x143a458 // > @ 0x145b208 // > @ 0x145b7a8 // > @ 0x1477898 // > @ 0x1479948 // > @ 0x1486da8 // > @ 0x1487358 // > @ 0x1491c88 // > @ 0x14970c8 // > @ 0x1499618 // > @ 0x14c1f48 // > @ 0x14d9948 // > @ 0x150cd68 // > @ 0x1517c28 // > @ 0x15181c8 // > @ 0x1518d48 // > @ 0x152e7a8 // > @ 0x152ffa8 // // 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:08:13 +0000 // unsigned int *__fastcall cocos2d::CCSprite::setChildColor(unsigned int *result, __int64 a2) { unsigned int **v2; // x19 unsigned int **v3; // x20 if ( *((_BYTE *)result + 378) ) { result = *((unsigned int **)result + 26); if ( result ) { result = *((unsigned int **)result + 7); if ( *result ) { v2 = *((unsigned int ***)result + 2); v3 = &v2[*result - 1]; if ( v2 <= v3 ) { for ( result = *v2; *v2; result = *v2 ) { result = (unsigned int *)_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 = (unsigned int *)(*(__int64 (__fastcall **)(unsigned int *, __int64))(*(_QWORD *)result + 960LL))( result, a2); if ( v3 < ++v2 ) break; } } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source