{"type": "func", "start": 4298565040, "end": 4298565212, "name": "GJItemIcon::changeToLockedState", "pseudocode": "// \n// GJItemIcon::changeToLockedState from 0x10036e5b0 to 0x10036e65c (172 bytes)\n// \n// 2 xrefs:\n// > GJPathPage::init @ 0x1003000e4\n// > ShardsPage::init @ 0x1004c6aaa\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 __fastcall GJItemIcon::changeToLockedState(GJItemIcon *a1, float a2)\n{\n  cocos2d::CCSprite *v3; // rbx\n  __int64 v4; // rax\n  __int16 v5; // [rsp+Ch] [rbp-14h] BYREF\n  char v6; // [rsp+Eh] [rbp-12h]\n\n  GJItemIcon::darkenStoreItem(a1, (cocos2d::ccColor3B)3289650);\n  v3 = cocos2d::CCSprite::createWithSpriteFrameName(\"GJ_lockGray_001.png\");\n  ((void (__fastcall *)(GJItemIcon *, cocos2d::CCSprite *, __int64))a1->addChild_0)(a1, v3, 10);\n  v4 = ((__int64 (__fastcall *)(cocos2d::CCSprite *))a1->m_player->getPosition)(a1->m_player);\n  ((void (__fastcall *)(cocos2d::CCSprite *, __int64))v3->setPosition)(v3, v4);\n  ((void (__fastcall *)(cocos2d::CCSprite *, float))v3->setScale)(v3, a2 * 0.80000001);\n  ((void (__fastcall *)(cocos2d::CCSprite *, __int64))v3->setOpacity)(v3, 200);\n  v6 = -81;\n  v5 = -20561;\n  ((void (__fastcall *)(cocos2d::CCSprite *, __int16 *))v3->setColor)(v3, &v5);\n}", "assembly": "; \n; GJItemIcon::changeToLockedState from 0x10036e5b0 to 0x10036e65c (172 bytes)\n; \n; 2 xrefs:\n; > GJPathPage::init @ 0x1003000e4\n; > ShardsPage::init @ 0x1004c6aaa\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    rbp                                                            ; +0x0, 0x10036e5b0\nmov     rbp, rsp                                                       ; +0x1, 0x10036e5b1\npush    r14                                                            ; +0x4, 0x10036e5b4\npush    rbx                                                            ; +0x6, 0x10036e5b6\nsub     rsp, 10h                                                       ; +0x7, 0x10036e5b7\nmovss   [rbp+var_18], xmm0                                             ; +0xb, 0x10036e5bb\nmov     r14, rdi                                                       ; +0x10, 0x10036e5c0\nmov     esi, 323232h                                                   ; +0x13, 0x10036e5c3\ncall    GJItemIcon__darkenStoreItem                                    ; +0x18, 0x10036e5c8\nlea     rdi, aGjLockgray001P; \"GJ_lockGray_001.png\"                    ; +0x1d, 0x10036e5cd\ncall    cocos2d__CCSprite__createWithSpriteFrameName                   ; +0x24, 0x10036e5d4\nmov     rbx, rax                                                       ; +0x29, 0x10036e5d9\nmov     rax, [r14]                                                     ; +0x2c, 0x10036e5dc\nmov     rdi, r14                                                       ; +0x2f, 0x10036e5df\nmov     rsi, rbx                                                       ; +0x32, 0x10036e5e2\nmov     edx, 0Ah                                                       ; +0x35, 0x10036e5e5\ncall    qword ptr [rax+1C0h]                                           ; +0x3a, 0x10036e5ea\nmov     rdi, [r14+258h]                                                ; +0x40, 0x10036e5f0\nmov     rax, [rdi]                                                     ; +0x47, 0x10036e5f7\ncall    qword ptr [rax+0C0h]                                           ; +0x4a, 0x10036e5fa\nmov     rcx, [rbx]                                                     ; +0x50, 0x10036e600\nmov     rdi, rbx                                                       ; +0x53, 0x10036e603\nmov     rsi, rax                                                       ; +0x56, 0x10036e606\ncall    qword ptr [rcx+0B8h]                                           ; +0x59, 0x10036e609\nmovss   xmm0, [rbp+var_18]                                             ; +0x5f, 0x10036e60f\nmulss   xmm0, cs:dword_100814FE4                                       ; +0x64, 0x10036e614\nmov     rax, [rbx]                                                     ; +0x6c, 0x10036e61c\nmov     rdi, rbx                                                       ; +0x6f, 0x10036e61f\ncall    qword ptr [rax+0A0h]                                           ; +0x72, 0x10036e622\nmov     rax, [rbx]                                                     ; +0x78, 0x10036e628\nmov     rdi, rbx                                                       ; +0x7b, 0x10036e62b\nmov     esi, 0C8h                                                      ; +0x7e, 0x10036e62e\ncall    qword ptr [rax+380h]                                           ; +0x83, 0x10036e633\nmov     [rbp+var_12], 0AFh                                             ; +0x89, 0x10036e639\nmov     [rbp+var_14], 0AFAFh                                           ; +0x8d, 0x10036e63d\nmov     rax, [rbx]                                                     ; +0x93, 0x10036e643\nlea     rsi, [rbp+var_14]                                              ; +0x96, 0x10036e646\nmov     rdi, rbx                                                       ; +0x9a, 0x10036e64a\ncall    qword ptr [rax+3B0h]                                           ; +0x9d, 0x10036e64d\nadd     rsp, 10h                                                       ; +0xa3, 0x10036e653\npop     rbx                                                            ; +0xa7, 0x10036e657\npop     r14                                                            ; +0xa8, 0x10036e658\npop     rbp                                                            ; +0xaa, 0x10036e65a\nretn                                                                   ; +0xab, 0x10036e65b", "xrefs": ["GJPathPage::init @ 0x1003000e4", "ShardsPage::init @ 0x1004c6aaa"], "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"}