{"type": "func", "start": 4296598920, "end": 4296599068, "name": "GJColorSetupLayer::updateSpriteColor", "pseudocode": "// \n// GJColorSetupLayer::updateSpriteColor from 0x10018e588 to 0x10018e61c (148 bytes)\n// \n// 1 xrefs:\n// > GJColorSetupLayer::updateSpriteColors @ 0x10018e404\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 GJColorSetupLayer::updateSpriteColor(\n        GJColorSetupLayer *a1,\n        ColorChannelSprite *a2,\n        cocos2d::CCLabelBMFont *a3,\n        int a4)\n{\n  cocos2d::CCString *v8; // x0\n  const char *CString; // x0\n  ColorAction *ColorAction; // x1\n\n  v8 = (cocos2d::CCString *)sub_100268F4C(\"Col %i\", a4);\n  CString = cocos2d::CCString::getCString(v8);\n  ((void (__fastcall *)(cocos2d::CCLabelBMFont *, const char *))a3->setString)(a3, CString);\n  if ( GJEffectManager::colorExists(a1->m_settingsObject->m_effectManager, a4) )\n    ColorAction = GJEffectManager::getColorAction(a1->m_settingsObject->m_effectManager, a4);\n  else\n    ColorAction = nullptr;\n  ColorChannelSprite::updateValues(a2, ColorAction);\n}", "assembly": "; \n; GJColorSetupLayer::updateSpriteColor from 0x10018e588 to 0x10018e61c (148 bytes)\n; \n; 1 xrefs:\n; > GJColorSetupLayer::updateSpriteColors @ 0x10018e404\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, #0x40                                          ; +0x0, 0x10018e588\nSTP             X22, X21, [SP,#0x30+var_20]                            ; +0x4, 0x10018e58c\nSTP             X20, X19, [SP,#0x30+var_10]                            ; +0x8, 0x10018e590\nSTP             X29, X30, [SP,#0x30+var_s0]                            ; +0xc, 0x10018e594\nADD             X29, SP, #0x30                                         ; +0x10, 0x10018e598\nMOV             X20, X3                                                ; +0x14, 0x10018e59c\nMOV             X22, X2                                                ; +0x18, 0x10018e5a0\nMOV             X19, X1                                                ; +0x1c, 0x10018e5a4\nMOV             X21, X0                                                ; +0x20, 0x10018e5a8\nSTR             X20, [SP,#0x30+var_30]                                 ; +0x24, 0x10018e5ac\nADRL            X0, aColI; \"Col %i\"                                    ; +0x28, 0x10018e5b0\nBL              sub_100268F4C                                          ; +0x30, 0x10018e5b8\nBL              cocos2d__CCString__getCString                          ; +0x34, 0x10018e5bc\nMOV             X1, X0                                                 ; +0x38, 0x10018e5c0\nLDR             X8, [X22]                                              ; +0x3c, 0x10018e5c4\nLDR             X8, [X8,#0x390]                                        ; +0x40, 0x10018e5c8\nMOV             X0, X22                                                ; +0x44, 0x10018e5cc\nBLR             X8                                                     ; +0x48, 0x10018e5d0\nLDR             X8, [X21,#0x288]                                       ; +0x4c, 0x10018e5d4\nLDR             X0, [X8,#0x140]                                        ; +0x50, 0x10018e5d8\nMOV             X1, X20                                                ; +0x54, 0x10018e5dc\nBL              GJEffectManager__colorExists                           ; +0x58, 0x10018e5e0\nCBZ             W0, loc_10018E600                                      ; +0x5c, 0x10018e5e4\nLDR             X8, [X21,#0x288]                                       ; +0x60, 0x10018e5e8\nLDR             X0, [X8,#0x140]                                        ; +0x64, 0x10018e5ec\nMOV             X1, X20                                                ; +0x68, 0x10018e5f0\nBL              GJEffectManager__getColorAction                        ; +0x6c, 0x10018e5f4\nMOV             X1, X0                                                 ; +0x70, 0x10018e5f8\nB               loc_10018E604                                          ; +0x74, 0x10018e5fc\nMOV             X1, #0                                                 ; +0x78, 0x10018e600\nMOV             X0, X19                                                ; +0x7c, 0x10018e604\nLDP             X29, X30, [SP,#0x30+var_s0]                            ; +0x80, 0x10018e608\nLDP             X20, X19, [SP,#0x30+var_10]                            ; +0x84, 0x10018e60c\nLDP             X22, X21, [SP,#0x30+var_20]                            ; +0x88, 0x10018e610\nADD             SP, SP, #0x40 ; '@'                                    ; +0x8c, 0x10018e614\nB               ColorChannelSprite__updateValues                       ; +0x90, 0x10018e618", "xrefs": ["GJColorSetupLayer::updateSpriteColors @ 0x10018e404"], "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"}