// // cocos2d::extension::CCScale9Sprite::setColor from 0x7abf34 to 0x7abf98 (100 bytes) // // 1 xrefs: // > `non-virtual thunk to'cocos2d::extension::CCScale9Sprite::setColor @ 0x7abfa4 // // 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:03 +0000 // _DWORD *__fastcall cocos2d::extension::CCScale9Sprite::setColor(_DWORD *result, int a2) { int v3; // r3 _DWORD *v4; // r2 void **v5; // r4 void **v6; // r5 _DWORD *v7; // t1 v3 = result[93]; if ( v3 ) { *((_WORD *)result + 207) = *(_WORD *)a2; *((_BYTE *)result + 416) = *(_BYTE *)(a2 + 2); result = (_DWORD *)(*(int (__fastcall **)(int))(*(_DWORD *)v3 + 244))(v3); if ( result ) { v4 = (_DWORD *)result[13]; 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::CCRGBAProtocol, -2); if ( result ) result = (_DWORD *)(*(int (__fastcall **)(_DWORD *, int))*result)(result, a2); } } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source