{"type": "func", "start": 7942616, "end": 7942688, "name": "GJItemIcon::darkenStoreItem", "pseudocode": "// \n// GJItemIcon::darkenStoreItem from 0x7931d8 to 0x793220 (72 bytes)\n// \n// 5 xrefs:\n// > GJItemIcon::changeToLockedState @ 0x79340c\n// > GJGarageLayer::setupSpecialPage @ 0x7973b8\n// > GJShopLayer::didPurchaseItem @ 0x92ac74\n// > GJShopLayer::init @ 0x92e9dc\n// > <???> @ 0xc89d0\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 GJItemIcon::darkenStoreItem(GJItemIcon *a1, ShopType a2)\n{\n  int v3; // [xsp+28h] [xbp+28h]\n\n  *(cocos2d::ccColor3B *)&v3 = GJItemIcon::unlockedColorForType(a2);\n  GJItemIcon::darkenStoreItem((__int64)a1, v3);\n}", "assembly": "; \n; GJItemIcon::darkenStoreItem from 0x7931d8 to 0x793220 (72 bytes)\n; \n; 5 xrefs:\n; > GJItemIcon::changeToLockedState @ 0x79340c\n; > GJGarageLayer::setupSpecialPage @ 0x7973b8\n; > GJShopLayer::didPurchaseItem @ 0x92ac74\n; > GJShopLayer::init @ 0x92e9dc\n; > <???> @ 0xc89d0\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,#var_30]!                                ; +0x0, 0x7931d8\nMOV             X29, SP                                                ; +0x4, 0x7931dc\nSTR             X19, [SP,#0x30+var_20]                                 ; +0x8, 0x7931e0\nMOV             X19, X0                                                ; +0xc, 0x7931e4\nMOV             W0, W1; this                                           ; +0x10, 0x7931e8\nBL              _ZN10GJItemIcon20unlockedColorForTypeEi; GJItemIcon::unlockedColorForType(int) ; +0x14, 0x7931ec\nSXTW            X0, W0                                                 ; +0x18, 0x7931f0\nUBFX            X1, X0, #8, #8                                         ; +0x1c, 0x7931f4\nSTRB            W0, [X29,#0x30+var_8]                                  ; +0x20, 0x7931f8\nSTRB            W1, [X29,#0x30+var_8+1]                                ; +0x24, 0x7931fc\nUBFX            X0, X0, #0x10, #8                                      ; +0x28, 0x793200\nSTRB            W0, [X29,#0x30+var_8+2]                                ; +0x2c, 0x793204\nMOV             X0, X19                                                ; +0x30, 0x793208\nLDR             X1, [X29,#0x30+var_8]                                  ; +0x34, 0x79320c\nBL              _ZN10GJItemIcon15darkenStoreItemEN7cocos2d10_ccColor3BE; GJItemIcon::darkenStoreItem(cocos2d::_ccColor3B) ; +0x38, 0x793210\nLDR             X19, [SP,#0x30+var_20]                                 ; +0x3c, 0x793214\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x40, 0x793218\nRET                                                                    ; +0x44, 0x79321c", "xrefs": ["GJItemIcon::changeToLockedState @ 0x79340c", "GJGarageLayer::setupSpecialPage @ 0x7973b8", "GJShopLayer::didPurchaseItem @ 0x92ac74", "GJShopLayer::init @ 0x92e9dc", "<???> @ 0xc89d0"], "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"}