{"type": "func", "start": 4298144052, "end": 4298144124, "name": "GJItemIcon::dGJItemIcon", "pseudocode": "// \n// GJItemIcon::dGJItemIcon from 0x100307934 to 0x10030797c (72 bytes)\n// \n// 2 xrefs:\n// > j_GJItemIcon::dGJItemIcon @ 0x100307980\n// > sub_100307984 @ 0x10030798c\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\n__int64 __fastcall GJItemIcon::dGJItemIcon(__int64 a1)\n{\n  GameManager *v2; // x0\n\n  *(_QWORD *)a1 = off_1007EC7E0;\n  *(_QWORD *)(a1 + 320) = off_1007ECCB8;\n  *(_QWORD *)(a1 + 344) = off_1007ECD38;\n  v2 = GameManager::sharedState();\n  GameManager::unloadIcons(v2, *(_DWORD *)(a1 + 608));\n  return cocos2d::CCSprite::dCCSprite((_QWORD *)a1);\n}", "assembly": "; \n; GJItemIcon::dGJItemIcon from 0x100307934 to 0x10030797c (72 bytes)\n; \n; 2 xrefs:\n; > j_GJItemIcon::dGJItemIcon @ 0x100307980\n; > sub_100307984 @ 0x10030798c\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             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100307934\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100307938\nADD             X29, SP, #0x10                                         ; +0x8, 0x10030793c\nMOV             X19, X0                                                ; +0xc, 0x100307940\nADRL            X8, off_1007EC7E0                                      ; +0x10, 0x100307944\nSTR             X8, [X0]                                               ; +0x18, 0x10030794c\nADD             X9, X8, #(off_1007ECCB8 - 0x1007EC7E0)                 ; +0x1c, 0x100307950\nSTR             X9, [X0,#0x140]                                        ; +0x20, 0x100307954\nADD             X8, X8, #(off_1007ECD38 - 0x1007EC7E0)                 ; +0x24, 0x100307958\nSTR             X8, [X0,#0x158]                                        ; +0x28, 0x10030795c\nBL              GameManager__sharedState                               ; +0x2c, 0x100307960\nLDR             W1, [X19,#0x260]                                       ; +0x30, 0x100307964\nBL              GameManager__unloadIcons                               ; +0x34, 0x100307968\nMOV             X0, X19                                                ; +0x38, 0x10030796c\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x3c, 0x100307970\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x40, 0x100307974\nB               cocos2d__CCSprite__dCCSprite                           ; +0x44, 0x100307978", "xrefs": ["j_GJItemIcon::dGJItemIcon @ 0x100307980", "sub_100307984 @ 0x10030798c"], "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"}