//
// sub_1002D5E6C from 0x1002d5e6c to 0x1002d5e8c (32 bytes)
//
// 77 xrefs:
// > ??> @ 0x1008aed88
// > ??> @ 0x1008c0288
// > ??> @ 0x1008c0be0
// > ??> @ 0x1008c1df0
// > ??> @ 0x1008c43c8
// > ??> @ 0x1008c7e08
// > ??> @ 0x1008c83c8
// > ??> @ 0x1008d4678
// > ??> @ 0x1008e0180
// > ??> @ 0x1008eef00
// > ??> @ 0x100904280
// > ??> @ 0x100904848
// > ??> @ 0x10090ac38
// > ??> @ 0x100910a58
// > ??> @ 0x100911ce8
// > ??> @ 0x10091c830
// > ??> @ 0x10091ce28
// > ??> @ 0x10091fe30
// > ??> @ 0x100920930
// > ??> @ 0x1009221c8
// > ??> @ 0x100922790
// > ??> @ 0x100928aa8
// > ??> @ 0x1009292c8
// > ??> @ 0x100929ac0
// > ??> @ 0x10093ce58
// > ??> @ 0x1009426a0
// > ??> @ 0x100942c78
// > ??> @ 0x100944998
// > ??> @ 0x100944f30
// > ??> @ 0x100947eb0
// > ??> @ 0x10094dab8
// > ??> @ 0x10094e2f0
// > ??> @ 0x10094eaf8
// > ??> @ 0x10094f300
// > ??> @ 0x10094fb08
// > ??> @ 0x100950310
// > ??> @ 0x100950b18
// > ??> @ 0x1009512f8
// > ??> @ 0x100951b18
// > ??> @ 0x100952338
// > ??> @ 0x100952bb0
// > ??> @ 0x1009533d0
// > ??> @ 0x100953bf0
// > ??> @ 0x100954410
// > ??> @ 0x100954c30
// > ??> @ 0x100955450
// > ??> @ 0x100955c70
// > ??> @ 0x100956490
// > ??> @ 0x100956cb0
// > ??> @ 0x1009574d0
// > ??> @ 0x100957d20
// > ??> @ 0x100958570
// > ??> @ 0x100958da8
// > ??> @ 0x1009595e0
// > ??> @ 0x100959e18
// > ??> @ 0x10095a650
// > ??> @ 0x10095ae70
// > ??> @ 0x10095b690
// > ??> @ 0x10095beb0
// > ??> @ 0x10095c6d0
// > ??> @ 0x10095cef0
// > ??> @ 0x10095d710
// > ??> @ 0x10095df30
// > ??> @ 0x10095e750
// > ??> @ 0x10095ef70
// > ??> @ 0x10095f790
// > ??> @ 0x10095ffb0
// > ??> @ 0x1009607d0
// > ??> @ 0x100960ff0
// > ??> @ 0x100961810
// > ??> @ 0x100962030
// > ??> @ 0x100962850
// > ??> @ 0x100963070
// > ??> @ 0x100963db8
// > ??> @ 0x10096a1d0
// > ??> @ 0x10096e448
// > ??> @ 0x10098cbb8
//
// 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 11:02:41 +0000
//
__int64 __fastcall sub_1002D5E6C(__int64 result, int a2)
{
if ( *(unsigned __int8 *)(result + 236) != a2 )
{
*(_BYTE *)(result + 236) = a2;
return cocos2d::CCSprite::updateColor(result - 320);
}
return result;
}