{"type": "func", "start": 8857524, "end": 8857644, "name": "AnimatedGameObject::updateChildSpriteColor", "pseudocode": "// \n// AnimatedGameObject::updateChildSpriteColor from 0x8727b4 to 0x87282c (120 bytes)\n// \n// 5 xrefs:\n// > PlayLayer::updateVisibility @ 0x701288\n// > LevelEditorLayer::updateObjectColors @ 0x78c030\n// > LevelEditorLayer::updateVisibility @ 0x78e9ec\n// > LevelEditorLayer::updateVisibility @ 0x78ea00\n// > <???> @ 0xe7400\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:55:46 +0000\n// \n\ncocos2d::CCArray *__fastcall AnimatedGameObject::updateChildSpriteColor(__int64 a1, __int64 a2)\n{\n  cocos2d::CCArray *result; // x0\n  unsigned int v3; // w19\n  cocos2d::CCArray *v4; // x20\n  __int64 v5; // x0\n  bool v6; // cf\n  unsigned int v7; // w1\n  __int64 v8; // [xsp+38h] [xbp+38h] BYREF\n\n  v8 = a2;\n  result = *(cocos2d::CCArray **)(a1 + 1472);\n  if ( result )\n  {\n    v3 = 0;\n    v4 = (cocos2d::CCArray *)(*(__int64 (__fastcall **)(cocos2d::CCArray *))(*(_QWORD *)result + 488LL))(result);\n    while ( 1 )\n    {\n      v6 = v3 >= (unsigned int)cocos2d::CCArray::count(v4);\n      v7 = v3;\n      result = v4;\n      ++v3;\n      if ( v6 )\n        break;\n      v5 = cocos2d::CCArray::objectAtIndex(v4, v7);\n      (*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v5 + 960LL))(v5, &v8);\n    }\n  }\n  return result;\n}", "assembly": "; \n; AnimatedGameObject::updateChildSpriteColor from 0x8727b4 to 0x87282c (120 bytes)\n; \n; 5 xrefs:\n; > PlayLayer::updateVisibility @ 0x701288\n; > LevelEditorLayer::updateObjectColors @ 0x78c030\n; > LevelEditorLayer::updateVisibility @ 0x78e9ec\n; > LevelEditorLayer::updateVisibility @ 0x78ea00\n; > <???> @ 0xe7400\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:55:46 +0000\n; \nSTP             X29, X30, [SP,#var_40]!                                ; +0x0, 0x8727b4\nMOV             X29, SP                                                ; +0x4, 0x8727b8\nSTP             X19, X20, [SP,#0x40+var_30]                            ; +0x8, 0x8727bc\nSTR             X21, [SP,#0x40+var_20]                                 ; +0xc, 0x8727c0\nSTR             X1, [X29,#0x40+var_8]                                  ; +0x10, 0x8727c4\nLDR             X0, [X0,#0x5C0]                                        ; +0x14, 0x8727c8\nCBZ             X0, loc_87281C                                         ; +0x18, 0x8727cc\nLDR             X1, [X0]                                               ; +0x1c, 0x8727d0\nMOV             W19, #0                                                ; +0x20, 0x8727d4\nADD             X21, X29, #0x40+var_8                                  ; +0x24, 0x8727d8\nLDR             X1, [X1,#0x1E8]                                        ; +0x28, 0x8727dc\nBLR             X1                                                     ; +0x2c, 0x8727e0\nMOV             X20, X0                                                ; +0x30, 0x8727e4\nB               loc_872800                                             ; +0x34, 0x8727e8\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x38, 0x8727ec\nLDR             X2, [X0]                                               ; +0x3c, 0x8727f0\nMOV             X1, X21                                                ; +0x40, 0x8727f4\nLDR             X2, [X2,#0x3C0]                                        ; +0x44, 0x8727f8\nBLR             X2                                                     ; +0x48, 0x8727fc\nMOV             X0, X20; this                                          ; +0x4c, 0x872800\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x50, 0x872804\nCMP             W19, W0                                                ; +0x54, 0x872808\nMOV             W1, W19; unsigned int                                  ; +0x58, 0x87280c\nMOV             X0, X20; this                                          ; +0x5c, 0x872810\nADD             W19, W19, #1                                           ; +0x60, 0x872814\nB.CC            loc_8727EC                                             ; +0x64, 0x872818\nLDP             X19, X20, [SP,#0x40+var_30]                            ; +0x68, 0x87281c\nLDR             X21, [SP,#0x40+var_20]                                 ; +0x6c, 0x872820\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x70, 0x872824\nRET                                                                    ; +0x74, 0x872828", "xrefs": ["PlayLayer::updateVisibility @ 0x701288", "LevelEditorLayer::updateObjectColors @ 0x78c030", "LevelEditorLayer::updateVisibility @ 0x78e9ec", "LevelEditorLayer::updateVisibility @ 0x78ea00", "<???> @ 0xe7400"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}