{"type": "func", "start": 4095708, "end": 4095768, "name": "AnimatedGameObject::updateChildSpriteColor", "pseudocode": "// \n// AnimatedGameObject::updateChildSpriteColor from 0x3e7edc to 0x3e7f18 (60 bytes)\n// \n// 4 xrefs:\n// > PlayLayer::updateVisibility @ 0x315bf0\n// > LevelEditorLayer::updateObjectColors @ 0x367aa6\n// > LevelEditorLayer::updateVisibility @ 0x36978c\n// > LevelEditorLayer::updateVisibility @ 0x369b4a\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid AnimatedGameObject::updateChildSpriteColor(AnimatedGameObject *a1, cocos2d::ccColor3B a2)\n{\n  cocos2d::CCSprite *m_childSprite; // r0\n  unsigned int v3; // r4\n  cocos2d::CCArray *v4; // r5\n  int v5; // r0\n  int v6; // [sp+4h] [bp-4h] BYREF\n\n  v6 = *(_DWORD *)&a2.r;\n  m_childSprite = a1->m_childSprite;\n  if ( m_childSprite )\n  {\n    v3 = 0;\n    v4 = m_childSprite->getChildren(m_childSprite);\n    while ( v3 < cocos2d::CCArray::count(v4) )\n    {\n      v5 = cocos2d::CCArray::objectAtIndex(v4, v3++);\n      (*(void (__fastcall **)(int, int *))(*(_DWORD *)v5 + 472))(v5, &v6);\n    }\n  }\n}", "assembly": "; \n; AnimatedGameObject::updateChildSpriteColor from 0x3e7edc to 0x3e7f18 (60 bytes)\n; \n; 4 xrefs:\n; > PlayLayer::updateVisibility @ 0x315bf0\n; > LevelEditorLayer::updateObjectColors @ 0x367aa6\n; > LevelEditorLayer::updateVisibility @ 0x36978c\n; > LevelEditorLayer::updateVisibility @ 0x369b4a\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nPUSH            {R0,R1,R4-R6,LR}                                       ; +0x0, 0x3e7edc\nSTR             R1, [SP,#8+var_4]                                      ; +0x2, 0x3e7ede\nLDR.W           R0, [R0,#0x4F8]                                        ; +0x4, 0x3e7ee0\nCBZ             R0, loc_3E7F14                                         ; +0x8, 0x3e7ee4\nLDR             R3, [R0]                                               ; +0xa, 0x3e7ee6\nADD             R6, SP, #8+var_4                                       ; +0xc, 0x3e7ee8\nMOVS            R4, #0                                                 ; +0xe, 0x3e7eea\nLDR.W           R3, [R3,#0xEC]                                         ; +0x10, 0x3e7eec\nBLX             R3                                                     ; +0x14, 0x3e7ef0\nMOV             R5, R0                                                 ; +0x16, 0x3e7ef2\nMOV             R0, R5; this                                           ; +0x18, 0x3e7ef4\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x1a, 0x3e7ef6\nCMP             R4, R0                                                 ; +0x1e, 0x3e7efa\nBCS             loc_3E7F14                                             ; +0x20, 0x3e7efc\nMOV             R1, R4; unsigned int                                   ; +0x22, 0x3e7efe\nMOV             R0, R5; this                                           ; +0x24, 0x3e7f00\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x26, 0x3e7f02\nMOV             R1, R6                                                 ; +0x2a, 0x3e7f06\nADDS            R4, #1                                                 ; +0x2c, 0x3e7f08\nLDR             R3, [R0]                                               ; +0x2e, 0x3e7f0a\nLDR.W           R3, [R3,#0x1D8]                                        ; +0x30, 0x3e7f0c\nBLX             R3                                                     ; +0x34, 0x3e7f10\nB               loc_3E7EF4                                             ; +0x36, 0x3e7f12\nADD             SP, SP, #8                                             ; +0x38, 0x3e7f14\nPOP             {R4-R6,PC}                                             ; +0x3a, 0x3e7f16", "xrefs": ["PlayLayer::updateVisibility @ 0x315bf0", "LevelEditorLayer::updateObjectColors @ 0x367aa6", "LevelEditorLayer::updateVisibility @ 0x36978c", "LevelEditorLayer::updateVisibility @ 0x369b4a"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}