// // AnimatedGameObject::updateChildSpriteColor from 0x4e7dd0 to 0x4e7e0c (60 bytes) // // 4 xrefs: // > PlayLayer::updateVisibility @ 0x407054 // > LevelEditorLayer::updateObjectColors @ 0x461836 // > LevelEditorLayer::updateVisibility @ 0x462efe // > LevelEditorLayer::updateVisibility @ 0x463346 // // 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 11:51:06 +0000 // unsigned int __fastcall AnimatedGameObject::updateChildSpriteColor(int a1, int a2) { unsigned int result; // r0 unsigned int v3; // r4 cocos2d::CCArray *v4; // r5 int v5; // r0 int v6; // [sp+4h] [bp-4h] BYREF v6 = a2; result = *(_DWORD *)(a1 + 1280); if ( result ) { v3 = 0; v4 = (cocos2d::CCArray *)(*(int (__fastcall **)(unsigned int))(*(_DWORD *)result + 244))(result); while ( 1 ) { result = cocos2d::CCArray::count(v4); if ( v3 >= result ) break; v5 = cocos2d::CCArray::objectAtIndex(v4, v3++); (*(void (__fastcall **)(int, int *))(*(_DWORD *)v5 + 480))(v5, &v6); } } return result; }