{"type": "func", "start": 5371311664, "end": 5371311887, "name": "GJItemIcon::changeToLockedState", "pseudocode": "// \n// GJItemIcon::changeToLockedState from 0x14027b630 to 0x14027b70f (223 bytes)\n// \n// 5 xrefs:\n// > GJGarageLayer::getItems @ 0x140276a67\n// > GJGarageLayer::setupSpecialPage @ 0x140277106\n// > GJPathPage::init @ 0x140286694\n// > ShardsPage::init @ 0x14048c0ab\n// > <???> @ 0x1406d1154\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::changeToLockedState(GJItemIcon *a1, float a2)\n{\n  struct cocos2d::CCSprite *v3; // rsi\n  cocos2d::CCSprite_vtbl *v4; // rbx\n  const cocos2d::CCPoint *v5; // rax\n  __int64 v6; // rdx\n  cocos2d::CCRGBAProtocol_vtbl *v7; // rax\n  cocos2d::ccColor3B v8; // [rsp+40h] [rbp+8h] BYREF\n  __int16 v9; // [rsp+48h] [rbp+10h] BYREF\n  char v10; // [rsp+4Ah] [rbp+12h]\n\n  v9 = 12850;\n  memset(&v8, 50, sizeof(v8));\n  GJItemIcon::darkenStoreItem(a1, &v8);\n  v3 = cocos2d::CCSprite::createWithSpriteFrameName((const char *)&xmmword_14053DE08);\n  a1->addChild_0(a1, v3, 10);\n  v4 = v3->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  v5 = a1->m_player->getPosition_0(a1->m_player);\n  v4->setPosition_0(v3, v5);\n  ((void (__fastcall *)(struct cocos2d::CCSprite *))v3->setScale_0)(v3);\n  LOBYTE(v6) = -56;\n  v3->setOpacity(&v3->cocos2d::CCRGBAProtocol, v6);\n  v7 = v3->cocos2d::CCNodeRGBA::cocos2d::CCRGBAProtocol::__vftable;\n  v9 = -20561;\n  v10 = -81;\n  v7->setColor(&v3->cocos2d::CCRGBAProtocol, (const cocos2d::ccColor3B *)&v9);\n}", "assembly": "; \n; GJItemIcon::changeToLockedState from 0x14027b630 to 0x14027b70f (223 bytes)\n; \n; 5 xrefs:\n; > GJGarageLayer::getItems @ 0x140276a67\n; > GJGarageLayer::setupSpecialPage @ 0x140277106\n; > GJPathPage::init @ 0x140286694\n; > ShardsPage::init @ 0x14048c0ab\n; > <???> @ 0x1406d1154\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     [rsp+arg_10], rbx                                              ; +0x0, 0x14027b630\nmov     [rsp+arg_18], rsi                                              ; +0x5, 0x14027b635\npush    rdi                                                            ; +0xa, 0x14027b63a\nsub     rsp, 30h                                                       ; +0xb, 0x14027b63b\nmovaps  [rsp+38h+var_18], xmm6                                         ; +0xf, 0x14027b63f\nlea     rdx, [rsp+38h+arg_0]                                           ; +0x14, 0x14027b644\nmov     [rsp+38h+arg_8], 3232h                                         ; +0x19, 0x14027b649\nmovaps  xmm6, xmm1                                                     ; +0x20, 0x14027b650\nmovzx   eax, [rsp+38h+arg_8]                                           ; +0x23, 0x14027b653\nmov     rdi, rcx                                                       ; +0x28, 0x14027b658\nmov     [rsp+38h+arg_0], ax                                            ; +0x2b, 0x14027b65b\nmov     [rsp+38h+arg_2], 32h ; '2'                                     ; +0x30, 0x14027b660\ncall    GJItemIcon__darkenStoreItem                                    ; +0x35, 0x14027b665\nlea     rcx, xmmword_14053DE08                                         ; +0x3a, 0x14027b66a\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x41, 0x14027b671\nmov     r9, [rdi]                                                      ; +0x47, 0x14027b677\nmov     r8d, 0Ah                                                       ; +0x4a, 0x14027b67a\nmov     rdx, rax                                                       ; +0x50, 0x14027b680\nmov     rcx, rdi                                                       ; +0x53, 0x14027b683\nmov     rsi, rax                                                       ; +0x56, 0x14027b686\ncall    qword ptr [r9+1B8h]                                            ; +0x59, 0x14027b689\nmov     rcx, [rdi+258h]                                                ; +0x60, 0x14027b690\nmov     rbx, [rsi]                                                     ; +0x67, 0x14027b697\nmov     rdx, [rcx]                                                     ; +0x6a, 0x14027b69a\ncall    qword ptr [rdx+0C8h]                                           ; +0x6d, 0x14027b69d\nmov     rdx, rax                                                       ; +0x73, 0x14027b6a3\nmov     rcx, rsi                                                       ; +0x76, 0x14027b6a6\ncall    qword ptr [rbx+0B8h]                                           ; +0x79, 0x14027b6a9\nmulss   xmm6, cs:dword_140622BA4                                       ; +0x7f, 0x14027b6af\nmov     rcx, rsi                                                       ; +0x87, 0x14027b6b7\nmov     rax, [rsi]                                                     ; +0x8a, 0x14027b6ba\nmovaps  xmm1, xmm6                                                     ; +0x8d, 0x14027b6bd\ncall    qword ptr [rax+0A0h]                                           ; +0x90, 0x14027b6c0\nmov     rax, [rsi+140h]                                                ; +0x96, 0x14027b6c6\nlea     rcx, [rsi+140h]                                                ; +0x9d, 0x14027b6cd\nmov     dl, 0C8h                                                       ; +0xa4, 0x14027b6d4\ncall    qword ptr [rax+28h]                                            ; +0xa6, 0x14027b6d6\nmov     rax, [rsi+140h]                                                ; +0xa9, 0x14027b6d9\nlea     rdx, [rsp+38h+arg_8]                                           ; +0xb0, 0x14027b6e0\nlea     rcx, [rsi+140h]                                                ; +0xb5, 0x14027b6e5\nmov     [rsp+38h+arg_8], 0AFAFh                                        ; +0xbc, 0x14027b6ec\nmov     [rsp+38h+arg_A], 0AFh                                          ; +0xc3, 0x14027b6f3\ncall    qword ptr [rax]                                                ; +0xc8, 0x14027b6f8\nmov     rbx, [rsp+38h+arg_10]                                          ; +0xca, 0x14027b6fa\nmov     rsi, [rsp+38h+arg_18]                                          ; +0xcf, 0x14027b6ff\nmovaps  xmm6, [rsp+38h+var_18]                                         ; +0xd4, 0x14027b704\nadd     rsp, 30h                                                       ; +0xd9, 0x14027b709\npop     rdi                                                            ; +0xdd, 0x14027b70d\nretn                                                                   ; +0xde, 0x14027b70e", "xrefs": ["GJGarageLayer::getItems @ 0x140276a67", "GJGarageLayer::setupSpecialPage @ 0x140277106", "GJPathPage::init @ 0x140286694", "ShardsPage::init @ 0x14048c0ab", "<???> @ 0x1406d1154"], "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"}