{"type": "func", "start": 7584780, "end": 7584904, "name": "ColorSelectPopup::onTintGround", "pseudocode": "// \n// ColorSelectPopup::onTintGround from 0x73bc0c to 0x73bc88 (124 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x9db00\n// > ColorSelectPopup::init @ 0x73ecc8\n// > <???> @ 0x122d648\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 ColorSelectPopup::onTintGround(ColorSelectPopup *a1, cocos2d::CCObject *a2)\n{\n  EffectGameObject *m_gameObject; // x2\n  bool v3; // w1\n  cocos2d::CCArray *m_gameObjects; // x1\n  unsigned int v6; // w20\n  __int64 v7; // x0\n  bool v8; // cf\n  unsigned int v9; // w1\n\n  m_gameObject = a1->m_gameObject;\n  v3 = !a1->m_tintGround;\n  a1->m_tintGround = v3;\n  if ( m_gameObject )\n  {\n    m_gameObject->m_tintGround = v3;\n  }\n  else\n  {\n    m_gameObjects = a1->m_gameObjects;\n    if ( m_gameObjects )\n    {\n      v6 = 0;\n      while ( 1 )\n      {\n        v8 = v6 >= (unsigned int)cocos2d::CCArray::count(m_gameObjects);\n        v9 = v6++;\n        if ( v8 )\n          break;\n        v7 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, v9);\n        m_gameObjects = a1->m_gameObjects;\n        *(_BYTE *)(v7 + 1468) = a1->m_tintGround;\n      }\n    }\n  }\n}", "assembly": "; \n; ColorSelectPopup::onTintGround from 0x73bc0c to 0x73bc88 (124 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x9db00\n; > ColorSelectPopup::init @ 0x73ecc8\n; > <???> @ 0x122d648\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             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0x73bc0c\nMOV             X29, SP                                                ; +0x4, 0x73bc10\nLDRB            W1, [X0,#0x459]                                        ; +0x8, 0x73bc14\nSTP             X19, X20, [SP,#var_s10]                                ; +0xc, 0x73bc18\nLDR             X2, [X0,#0x290]                                        ; +0x10, 0x73bc1c\nEOR             W1, W1, #1                                             ; +0x14, 0x73bc20\nSTRB            W1, [X0,#0x459]                                        ; +0x18, 0x73bc24\nCBZ             X2, loc_73BC3C                                         ; +0x1c, 0x73bc28\nSTRB            W1, [X2,#0x5BC]                                        ; +0x20, 0x73bc2c\nLDP             X19, X20, [SP,#var_s10]                                ; +0x24, 0x73bc30\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x28, 0x73bc34\nRET                                                                    ; +0x2c, 0x73bc38\nLDR             X1, [X0,#0x298]                                        ; +0x30, 0x73bc3c\nCBZ             X1, loc_73BC30                                         ; +0x34, 0x73bc40\nMOV             X19, X0                                                ; +0x38, 0x73bc44\nMOV             W20, #0                                                ; +0x3c, 0x73bc48\nB               loc_73BC64                                             ; +0x40, 0x73bc4c\nLDR             X0, [X19,#0x298]; this                                 ; +0x44, 0x73bc50\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x48, 0x73bc54\nLDRB            W2, [X19,#0x459]                                       ; +0x4c, 0x73bc58\nLDR             X1, [X19,#0x298]                                       ; +0x50, 0x73bc5c\nSTRB            W2, [X0,#0x5BC]                                        ; +0x54, 0x73bc60\nMOV             X0, X1; this                                           ; +0x58, 0x73bc64\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x5c, 0x73bc68\nCMP             W20, W0                                                ; +0x60, 0x73bc6c\nMOV             W1, W20; unsigned int                                  ; +0x64, 0x73bc70\nADD             W20, W20, #1                                           ; +0x68, 0x73bc74\nB.CC            loc_73BC50                                             ; +0x6c, 0x73bc78\nLDP             X19, X20, [SP,#var_s10]                                ; +0x70, 0x73bc7c\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x74, 0x73bc80\nRET                                                                    ; +0x78, 0x73bc84", "xrefs": ["<???> @ 0x9db00", "ColorSelectPopup::init @ 0x73ecc8", "<???> @ 0x122d648"], "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"}