{"type": "func", "start": 4296765520, "end": 4296765637, "name": "AnimatedGameObject::updateChildSpriteColor", "pseudocode": "// \n// AnimatedGameObject::updateChildSpriteColor from 0x1001b7050 to 0x1001b70c5 (117 bytes)\n// \n// 4 xrefs:\n// > PlayLayer::updateVisibility @ 0x1000b79e0\n// > LevelEditorLayer::updateVisibility @ 0x1000eb0e6\n// > LevelEditorLayer::updateVisibility @ 0x1000eb66c\n// > LevelEditorLayer::updateObjectColors @ 0x1000ebcd2\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  __int64 v2; // rax\n  cocos2d::CCSprite *m_childSprite; // rdi\n  __int64 v4; // rbx\n  unsigned int v5; // r14d\n  __int64 v6; // rax\n  cocos2d::ccColor3B v7; // [rsp+0h] [rbp-1Ch] BYREF\n  char v8; // [rsp+3h] [rbp-19h]\n\n  v8 = HIBYTE(v2);\n  v7 = a2;\n  m_childSprite = a1->m_childSprite;\n  if ( m_childSprite )\n  {\n    v4 = ((__int64 (__fastcall *)(cocos2d::CCSprite *))m_childSprite->getChildren)(m_childSprite);\n    if ( (unsigned int)sub_100720070(v4) )\n    {\n      v5 = 0;\n      do\n      {\n        v6 = sub_1007200C0(v4, v5);\n        (*(void (__fastcall **)(__int64, cocos2d::ccColor3B *))(*(_QWORD *)v6 + 944LL))(v6, &v7);\n        ++v5;\n      }\n      while ( v5 < (unsigned int)sub_100720070(v4) );\n    }\n  }\n}", "assembly": "; \n; AnimatedGameObject::updateChildSpriteColor from 0x1001b7050 to 0x1001b70c5 (117 bytes)\n; \n; 4 xrefs:\n; > PlayLayer::updateVisibility @ 0x1000b79e0\n; > LevelEditorLayer::updateVisibility @ 0x1000eb0e6\n; > LevelEditorLayer::updateVisibility @ 0x1000eb66c\n; > LevelEditorLayer::updateObjectColors @ 0x1000ebcd2\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    rbp                                                            ; +0x0, 0x1001b7050\nmov     rbp, rsp                                                       ; +0x1, 0x1001b7051\npush    r15                                                            ; +0x4, 0x1001b7054\npush    r14                                                            ; +0x6, 0x1001b7056\npush    rbx                                                            ; +0x8, 0x1001b7058\npush    rax                                                            ; +0x9, 0x1001b7059\nmov     [rbp+var_1C], si                                               ; +0xa, 0x1001b705a\nshr     esi, 10h                                                       ; +0xe, 0x1001b705e\nmov     [rbp+var_1A], sil                                              ; +0x11, 0x1001b7061\nmov     rdi, [rdi+5C0h]                                                ; +0x15, 0x1001b7065\ntest    rdi, rdi                                                       ; +0x1c, 0x1001b706c\njz      short loc_1001B70BA                                            ; +0x1f, 0x1001b706f\nmov     rax, [rdi]                                                     ; +0x21, 0x1001b7071\ncall    qword ptr [rax+1D8h]                                           ; +0x24, 0x1001b7074\nmov     rbx, rax                                                       ; +0x2a, 0x1001b707a\nmov     rdi, rax                                                       ; +0x2d, 0x1001b707d\ncall    sub_100720070                                                  ; +0x30, 0x1001b7080\ntest    eax, eax                                                       ; +0x35, 0x1001b7085\njz      short loc_1001B70BA                                            ; +0x37, 0x1001b7087\nxor     r14d, r14d                                                     ; +0x39, 0x1001b7089\nlea     r15, [rbp+var_1C]                                              ; +0x3c, 0x1001b708c\nmov     rdi, rbx                                                       ; +0x40, 0x1001b7090\nmov     esi, r14d                                                      ; +0x43, 0x1001b7093\ncall    sub_1007200C0                                                  ; +0x46, 0x1001b7096\nmov     rcx, [rax]                                                     ; +0x4b, 0x1001b709b\nmov     rdi, rax                                                       ; +0x4e, 0x1001b709e\nmov     rsi, r15                                                       ; +0x51, 0x1001b70a1\ncall    qword ptr [rcx+3B0h]                                           ; +0x54, 0x1001b70a4\ninc     r14d                                                           ; +0x5a, 0x1001b70aa\nmov     rdi, rbx                                                       ; +0x5d, 0x1001b70ad\ncall    sub_100720070                                                  ; +0x60, 0x1001b70b0\ncmp     r14d, eax                                                      ; +0x65, 0x1001b70b5\njb      short loc_1001B7090                                            ; +0x68, 0x1001b70b8\nadd     rsp, 8                                                         ; +0x6a, 0x1001b70ba\npop     rbx                                                            ; +0x6e, 0x1001b70be\npop     r14                                                            ; +0x6f, 0x1001b70bf\npop     r15                                                            ; +0x71, 0x1001b70c1\npop     rbp                                                            ; +0x73, 0x1001b70c3\nretn                                                                   ; +0x74, 0x1001b70c4", "xrefs": ["PlayLayer::updateVisibility @ 0x1000b79e0", "LevelEditorLayer::updateVisibility @ 0x1000eb0e6", "LevelEditorLayer::updateVisibility @ 0x1000eb66c", "LevelEditorLayer::updateObjectColors @ 0x1000ebcd2"], "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"}