{"type": "func", "start": 4298652732, "end": 4298652860, "name": "AnimatedGameObject::updateChildSpriteColor", "pseudocode": "// \n// AnimatedGameObject::updateChildSpriteColor from 0x100383c3c to 0x100383cbc (128 bytes)\n// \n// 4 xrefs:\n// > PlayLayer::updateVisibility @ 0x10011ca10\n// > LevelEditorLayer::updateVisibility @ 0x10035ebb4\n// > LevelEditorLayer::updateVisibility @ 0x10035f114\n// > LevelEditorLayer::updateObjectColors @ 0x10035f6b8\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 __fastcall AnimatedGameObject::updateChildSpriteColor(AnimatedGameObject *a1, cocos2d::ccColor3B a2)\n{\n  cocos2d::CCSprite *m_childSprite; // x0\n  __int64 v3; // x19\n  unsigned int v4; // w20\n  __int64 v5; // x0\n  cocos2d::ccColor3B v6; // [xsp+Ch] [xbp-14h] BYREF\n\n  v6 = a2;\n  m_childSprite = a1->m_childSprite;\n  if ( m_childSprite )\n  {\n    v3 = ((__int64 (__fastcall *)(cocos2d::CCSprite *))m_childSprite->getChildren)(m_childSprite);\n    if ( (unsigned int)sub_10024A36C(v3) )\n    {\n      v4 = 0;\n      do\n      {\n        v5 = sub_10024A388(v3, v4);\n        (*(void (__fastcall **)(__int64, cocos2d::ccColor3B *))(*(_QWORD *)v5 + 944LL))(v5, &v6);\n        ++v4;\n      }\n      while ( v4 < (unsigned int)sub_10024A36C(v3) );\n    }\n  }\n}", "assembly": "; \n; AnimatedGameObject::updateChildSpriteColor from 0x100383c3c to 0x100383cbc (128 bytes)\n; \n; 4 xrefs:\n; > PlayLayer::updateVisibility @ 0x10011ca10\n; > LevelEditorLayer::updateVisibility @ 0x10035ebb4\n; > LevelEditorLayer::updateVisibility @ 0x10035f114\n; > LevelEditorLayer::updateObjectColors @ 0x10035f6b8\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\nSUB             SP, SP, #0x30                                          ; +0x0, 0x100383c3c\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x100383c40\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x100383c44\nADD             X29, SP, #0x20                                         ; +0xc, 0x100383c48\nSTRH            W1, [SP,#0x20+var_14]                                  ; +0x10, 0x100383c4c\nUBFX            X8, X1, #0x10, #0x10                                   ; +0x14, 0x100383c50\nSTRB            W8, [SP,#0x20+var_12]                                  ; +0x18, 0x100383c54\nLDR             X0, [X0,#0x5C0]                                        ; +0x1c, 0x100383c58\nCBZ             X0, loc_100383CAC                                      ; +0x20, 0x100383c5c\nLDR             X8, [X0]                                               ; +0x24, 0x100383c60\nLDR             X8, [X8,#0x1D8]                                        ; +0x28, 0x100383c64\nBLR             X8                                                     ; +0x2c, 0x100383c68\nMOV             X19, X0                                                ; +0x30, 0x100383c6c\nBL              sub_10024A36C                                          ; +0x34, 0x100383c70\nCBZ             W0, loc_100383CAC                                      ; +0x38, 0x100383c74\nMOV             W20, #0                                                ; +0x3c, 0x100383c78\nMOV             X0, X19                                                ; +0x40, 0x100383c7c\nMOV             X1, X20                                                ; +0x44, 0x100383c80\nBL              sub_10024A388                                          ; +0x48, 0x100383c84\nLDR             X8, [X0]                                               ; +0x4c, 0x100383c88\nLDR             X8, [X8,#0x3B0]                                        ; +0x50, 0x100383c8c\nADD             X1, SP, #0x20+var_14                                   ; +0x54, 0x100383c90\nBLR             X8                                                     ; +0x58, 0x100383c94\nADD             W20, W20, #1                                           ; +0x5c, 0x100383c98\nMOV             X0, X19                                                ; +0x60, 0x100383c9c\nBL              sub_10024A36C                                          ; +0x64, 0x100383ca0\nCMP             W20, W0                                                ; +0x68, 0x100383ca4\nB.CC            loc_100383C7C                                          ; +0x6c, 0x100383ca8\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x70, 0x100383cac\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x74, 0x100383cb0\nADD             SP, SP, #0x30 ; '0'                                    ; +0x78, 0x100383cb4\nRET                                                                    ; +0x7c, 0x100383cb8", "xrefs": ["PlayLayer::updateVisibility @ 0x10011ca10", "LevelEditorLayer::updateVisibility @ 0x10035ebb4", "LevelEditorLayer::updateVisibility @ 0x10035f114", "LevelEditorLayer::updateObjectColors @ 0x10035f6b8"], "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"}