// // cocos2d::CCSprite::setChildColor from 0x100275e80 to 0x100275f24 (164 bytes) // // 32 xrefs: // > @ 0x100ab7818 // > @ 0x100abb7b8 // > @ 0x100ae18f0 // > @ 0x100ae50c8 // > @ 0x100af6c80 // > @ 0x100afa318 // > @ 0x100b0c470 // > @ 0x100b112a8 // > @ 0x100b13498 // > @ 0x100b1b2f0 // > @ 0x100b1c650 // > @ 0x100b1d208 // > @ 0x100b24338 // > @ 0x100b248d0 // > @ 0x100b25de0 // > @ 0x100b26390 // > @ 0x100b30850 // > @ 0x100b33628 // > @ 0x100b3df60 // > @ 0x100b46c28 // > @ 0x100b471e8 // > @ 0x100b4c538 // > @ 0x100b599f8 // > @ 0x100b87620 // > @ 0x100b87be8 // > @ 0x100b881b0 // > @ 0x100b8da38 // > @ 0x100b8e000 // > @ 0x100b993d8 // > @ 0x100ba7188 // > @ 0x100bac4e0 // > @ 0x100bb9ae8 // // 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 12:27:39 +0000 // void __fastcall cocos2d::CCSprite::setChildColor(__int64 a1, __int64 a2) { __int64 v2; // rax unsigned int *v3; // rax const void **v4; // r12 unsigned __int64 v5; // r13 void *v6; // rax if ( *(_BYTE *)(a1 + 378) == 1 ) { v2 = *(_QWORD *)(a1 + 208); if ( v2 ) { v3 = *(unsigned int **)(v2 + 56); if ( *v3 ) { v4 = *((const void ***)v3 + 2); v5 = (unsigned __int64)&v4[*v3 - 1]; do { if ( !*v4 ) break; v6 = __dynamic_cast( *v4, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCObject, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCSprite, 0); if ( v6 ) (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v6 + 960LL))(v6, a2); ++v4; } while ( (unsigned __int64)v4 <= v5 ); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source