{"type": "func", "start": 4037938, "end": 4038010, "name": "ColorSelectPopup::onTintGround", "pseudocode": "// \n// ColorSelectPopup::onTintGround from 0x3d9d32 to 0x3d9d7a (72 bytes)\n// \n// 0 xrefs:\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; // r4\n  bool v4; // r3\n  int v5; // r0\n\n  m_gameObject = a1->m_gameObject;\n  v4 = !a1->m_tintGround;\n  a1->m_tintGround = v4;\n  if ( m_gameObject )\n  {\n    m_gameObject->m_tintGround = v4;\n  }\n  else if ( a1->m_gameObjects )\n  {\n    while ( (unsigned int)m_gameObject < cocos2d::CCArray::count(a1->m_gameObjects) )\n    {\n      v5 = cocos2d::CCArray::objectAtIndex(a1->m_gameObjects, (unsigned int)m_gameObject);\n      m_gameObject = (EffectGameObject *)((char *)m_gameObject + 1);\n      *(_BYTE *)(v5 + 1296) = a1->m_tintGround;\n    }\n  }\n}", "assembly": "; \n; ColorSelectPopup::onTintGround from 0x3d9d32 to 0x3d9d7a (72 bytes)\n; \n; 0 xrefs:\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            {R3-R5,LR}                                             ; +0x0, 0x3d9d32\nMOV             R5, R0                                                 ; +0x2, 0x3d9d34\nLDR.W           R4, [R0,#0x1FC]                                        ; +0x4, 0x3d9d36\nLDRB.W          R3, [R0,#0x2F9]                                        ; +0x8, 0x3d9d3a\nEOR.W           R3, R3, #1                                             ; +0xc, 0x3d9d3e\nSTRB.W          R3, [R0,#0x2F9]                                        ; +0x10, 0x3d9d42\nCBZ             R4, loc_3D9D4E                                         ; +0x14, 0x3d9d46\nSTRB.W          R3, [R4,#0x510]                                        ; +0x16, 0x3d9d48\nPOP             {R3-R5,PC}                                             ; +0x1a, 0x3d9d4c\nLDR.W           R3, [R0,#0x200]                                        ; +0x1c, 0x3d9d4e\nCBNZ            R3, loc_3D9D56                                         ; +0x20, 0x3d9d52\nPOP             {R3-R5,PC}                                             ; +0x22, 0x3d9d54\nLDR.W           R0, [R5,#0x200]; this                                  ; +0x24, 0x3d9d56\nBL              _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x28, 0x3d9d5a\nCMP             R4, R0                                                 ; +0x2c, 0x3d9d5e\nBCS             locret_3D9D78                                          ; +0x2e, 0x3d9d60\nMOV             R1, R4; unsigned int                                   ; +0x30, 0x3d9d62\nLDR.W           R0, [R5,#0x200]; this                                  ; +0x32, 0x3d9d64\nBL              _ZN7cocos2d7CCArray13objectAtIndexEj; cocos2d::CCArray::objectAtIndex(uint) ; +0x36, 0x3d9d68\nLDRB.W          R3, [R5,#0x2F9]                                        ; +0x3a, 0x3d9d6c\nADDS            R4, #1                                                 ; +0x3e, 0x3d9d70\nSTRB.W          R3, [R0,#0x510]                                        ; +0x40, 0x3d9d72\nB               loc_3D9D56                                             ; +0x44, 0x3d9d76\nPOP             {R3-R5,PC}                                             ; +0x46, 0x3d9d78", "xrefs": [], "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"}