{"type": "func", "start": 4296139412, "end": 4296139552, "name": "GravityEffectSprite::updateSpritesColor", "pseudocode": "// \n// GravityEffectSprite::updateSpritesColor from 0x10011e294 to 0x10011e320 (140 bytes)\n// \n// 1 xrefs:\n// > PlayLayer::playGravityEffect @ 0x10011e200\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 GravityEffectSprite::updateSpritesColor(GravityEffectSprite *a1, cocos2d::ccColor3B a2)\n{\n  __int64 v2; // x0\n  __int64 v3; // x19\n  __int64 v4; // x20\n  __int64 v5; // x0\n  cocos2d::ccColor3B v6; // [xsp+Ch] [xbp-14h] BYREF\n\n  v6 = a2;\n  v2 = ((__int64 (__fastcall *)(GravityEffectSprite *, __int64))a1->getChildByTag)(a1, 1);\n  if ( v2 )\n  {\n    v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v2 + 472LL))(v2);\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 = (unsigned int)(v4 + 1);\n      }\n      while ( (unsigned int)v4 < (unsigned int)sub_10024A36C(v3) );\n    }\n  }\n}", "assembly": "; \n; GravityEffectSprite::updateSpritesColor from 0x10011e294 to 0x10011e320 (140 bytes)\n; \n; 1 xrefs:\n; > PlayLayer::playGravityEffect @ 0x10011e200\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, 0x10011e294\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x10011e298\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10011e29c\nADD             X29, SP, #0x20                                         ; +0xc, 0x10011e2a0\nSTRH            W1, [SP,#0x20+var_14]                                  ; +0x10, 0x10011e2a4\nUBFX            X8, X1, #0x10, #0x10                                   ; +0x14, 0x10011e2a8\nSTRB            W8, [SP,#0x20+var_12]                                  ; +0x18, 0x10011e2ac\nLDR             X8, [X0]                                               ; +0x1c, 0x10011e2b0\nLDR             X8, [X8,#0x1D0]                                        ; +0x20, 0x10011e2b4\nMOV             W1, #1                                                 ; +0x24, 0x10011e2b8\nBLR             X8                                                     ; +0x28, 0x10011e2bc\nCBZ             X0, loc_10011E310                                      ; +0x2c, 0x10011e2c0\nLDR             X8, [X0]                                               ; +0x30, 0x10011e2c4\nLDR             X8, [X8,#0x1D8]                                        ; +0x34, 0x10011e2c8\nBLR             X8                                                     ; +0x38, 0x10011e2cc\nMOV             X19, X0                                                ; +0x3c, 0x10011e2d0\nBL              sub_10024A36C                                          ; +0x40, 0x10011e2d4\nCBZ             W0, loc_10011E310                                      ; +0x44, 0x10011e2d8\nMOV             W20, #0                                                ; +0x48, 0x10011e2dc\nMOV             X0, X19                                                ; +0x4c, 0x10011e2e0\nMOV             X1, X20                                                ; +0x50, 0x10011e2e4\nBL              sub_10024A388                                          ; +0x54, 0x10011e2e8\nLDR             X8, [X0]                                               ; +0x58, 0x10011e2ec\nLDR             X8, [X8,#0x3B0]                                        ; +0x5c, 0x10011e2f0\nADD             X1, SP, #0x20+var_14                                   ; +0x60, 0x10011e2f4\nBLR             X8                                                     ; +0x64, 0x10011e2f8\nADD             W20, W20, #1                                           ; +0x68, 0x10011e2fc\nMOV             X0, X19                                                ; +0x6c, 0x10011e300\nBL              sub_10024A36C                                          ; +0x70, 0x10011e304\nCMP             W20, W0                                                ; +0x74, 0x10011e308\nB.CC            loc_10011E2E0                                          ; +0x78, 0x10011e30c\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x7c, 0x10011e310\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x80, 0x10011e314\nADD             SP, SP, #0x30 ; '0'                                    ; +0x84, 0x10011e318\nRET                                                                    ; +0x88, 0x10011e31c", "xrefs": ["PlayLayer::playGravityEffect @ 0x10011e200"], "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"}