// // sub_100087CF4 from 0x100087cf4 to 0x100087ddc (232 bytes) // // 3 xrefs: // > GJRobotSprite::updateColors @ 0x1002dcea0 // > sub_10039A2FC @ 0x10039a3b8 // > CCAnimatedSprite::setColor @ 0x10039a908 // // 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 10:58:19 +0000 // unsigned int **__fastcall sub_100087CF4(__int64 a1, int a2) { unsigned int **result; // x0 unsigned int ***v4; // x20 __int64 v5; // x21 unsigned __int64 v6; // x19 __int16 v7; // [xsp+Ch] [xbp-24h] BYREF char v8; // [xsp+Eh] [xbp-22h] v7 = a2; v8 = BYTE2(a2); cocos2d::CCSprite::setColor(a1, &v7); result = (unsigned int **)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 488LL))(a1); if ( result ) { result = (unsigned int **)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 488LL))(a1); if ( *result[7] ) { v4 = *(unsigned int ****)(*(_QWORD *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 488LL))(a1) + 56) + 16LL); v5 = *(_QWORD *)(*(_QWORD *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 488LL))(a1) + 56) + 16LL); result = (unsigned int **)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 488LL))(a1); v6 = v5 + 8LL * *result[7] - 8; while ( (unsigned __int64)v4 <= v6 ) { result = *v4; if ( !*v4 ) break; result = (unsigned int **)(*((__int64 (__fastcall **)(unsigned int **, __int16 *))*result + 120))(result, &v7); ++v4; } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source