{"type": "func", "start": 4299287960, "end": 4299288080, "name": "ColorSelectPopup::onTintGround", "pseudocode": "// \n// ColorSelectPopup::onTintGround from 0x10041ed98 to 0x10041ee10 (120 bytes)\n// \n// 1 xrefs:\n// > ColorSelectPopup::init @ 0x10041cfc4\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 ColorSelectPopup::onTintGround(ColorSelectPopup *a1, cocos2d::CCObject *a2)\n{\n  bool v2; // w8\n  EffectGameObject *m_gameObject; // x9\n  cocos2d::CCArray *m_gameObjects; // x0\n  unsigned int v6; // w20\n\n  v2 = !a1->m_tintGround;\n  a1->m_tintGround = v2;\n  m_gameObject = a1->m_gameObject;\n  if ( m_gameObject )\n  {\n    m_gameObject->m_tintGround = v2;\n  }\n  else\n  {\n    m_gameObjects = a1->m_gameObjects;\n    if ( m_gameObjects && (unsigned int)sub_10024A36C((__int64)m_gameObjects) )\n    {\n      v6 = 0;\n      do\n        *(_BYTE *)(sub_10024A388((__int64)a1->m_gameObjects, v6++) + 1484) = a1->m_tintGround;\n      while ( v6 < (unsigned int)sub_10024A36C((__int64)a1->m_gameObjects) );\n    }\n  }\n}", "assembly": "; \n; ColorSelectPopup::onTintGround from 0x10041ed98 to 0x10041ee10 (120 bytes)\n; \n; 1 xrefs:\n; > ColorSelectPopup::init @ 0x10041cfc4\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10041ed98\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x10041ed9c\nADD             X29, SP, #0x10                                         ; +0x8, 0x10041eda0\nLDRB            W8, [X0,#0x441]                                        ; +0xc, 0x10041eda4\nMOV             W9, #1                                                 ; +0x10, 0x10041eda8\nBIC             W8, W9, W8                                             ; +0x14, 0x10041edac\nSTRB            W8, [X0,#0x441]                                        ; +0x18, 0x10041edb0\nLDR             X9, [X0,#0x290]                                        ; +0x1c, 0x10041edb4\nCBZ             X9, loc_10041EDCC                                      ; +0x20, 0x10041edb8\nSTRB            W8, [X9,#0x5CC]                                        ; +0x24, 0x10041edbc\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x28, 0x10041edc0\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x2c, 0x10041edc4\nRET                                                                    ; +0x30, 0x10041edc8\nMOV             X19, X0                                                ; +0x34, 0x10041edcc\nLDR             X0, [X0,#0x298]                                        ; +0x38, 0x10041edd0\nCBZ             X0, loc_10041EDC0                                      ; +0x3c, 0x10041edd4\nBL              sub_10024A36C                                          ; +0x40, 0x10041edd8\nCBZ             W0, loc_10041EDC0                                      ; +0x44, 0x10041eddc\nMOV             W20, #0                                                ; +0x48, 0x10041ede0\nLDR             X0, [X19,#0x298]                                       ; +0x4c, 0x10041ede4\nMOV             X1, X20                                                ; +0x50, 0x10041ede8\nBL              sub_10024A388                                          ; +0x54, 0x10041edec\nLDRB            W8, [X19,#0x441]                                       ; +0x58, 0x10041edf0\nSTRB            W8, [X0,#0x5CC]                                        ; +0x5c, 0x10041edf4\nADD             W20, W20, #1                                           ; +0x60, 0x10041edf8\nLDR             X0, [X19,#0x298]                                       ; +0x64, 0x10041edfc\nBL              sub_10024A36C                                          ; +0x68, 0x10041ee00\nCMP             W20, W0                                                ; +0x6c, 0x10041ee04\nB.CC            loc_10041EDE4                                          ; +0x70, 0x10041ee08\nB               loc_10041EDC0                                          ; +0x74, 0x10041ee0c", "xrefs": ["ColorSelectPopup::init @ 0x10041cfc4"], "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"}