{"type": "func", "start": 5372684512, "end": 5372684550, "name": "RateStarsLayer::onFeature", "pseudocode": "// \n// RateStarsLayer::onFeature from 0x1403ca8e0 to 0x1403ca906 (38 bytes)\n// \n// 1 xrefs:\n// > RateStarsLayer::init @ 0x1403ca633\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 RateStarsLayer::onFeature(RateStarsLayer *a1, cocos2d::CCObject *a2)\n{\n  int m_featureState; // r8d\n  GJFeatureState v3; // edx\n\n  m_featureState = a1->m_featureState;\n  v3 = 0;\n  if ( m_featureState < 4 )\n    v3 = m_featureState + 1;\n  a1->m_featureState = v3;\n  GJDifficultySprite::updateFeatureState(a1->m_difficultySprite, v3);\n}", "assembly": "; \n; RateStarsLayer::onFeature from 0x1403ca8e0 to 0x1403ca906 (38 bytes)\n; \n; 1 xrefs:\n; > RateStarsLayer::init @ 0x1403ca633\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\nmov     r8d, [rcx+2C8h]                                                ; +0x0, 0x1403ca8e0\nxor     edx, edx                                                       ; +0x7, 0x1403ca8e7\ncmp     r8d, 4                                                         ; +0x9, 0x1403ca8e9\nlea     eax, [r8+1]                                                    ; +0xd, 0x1403ca8ed\ncmovl   edx, eax                                                       ; +0x11, 0x1403ca8f1\nmov     [rcx+2C8h], edx                                                ; +0x14, 0x1403ca8f4\nmov     rcx, [rcx+2C0h]                                                ; +0x1a, 0x1403ca8fa\njmp     GJDifficultySprite__updateFeatureState                         ; +0x21, 0x1403ca901", "xrefs": ["RateStarsLayer::init @ 0x1403ca633"], "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"}