{"type": "func", "start": 4213396, "end": 4213462, "name": "GJItemIcon::createStoreItem", "pseudocode": "// \n// GJItemIcon::createStoreItem from 0x404a94 to 0x404ad6 (66 bytes)\n// \n// 2 xrefs:\n// > GJShopLayer::init @ 0x4e3a4c\n// > PurchaseItemPopup::init @ 0x4e407e\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\nGJItemIcon *GJItemIcon::createStoreItem(UnlockType a1, int a2, bool a3, cocos2d::ccColor3B a4)\n{\n  cocos2d::ccColor3B v5; // [sp+1Ch] [bp-8h]\n\n  v5.b = -1;\n  *(_WORD *)&v5.r = -256;\n  return GJItemIcon::create(a1, a2, (cocos2d::ccColor3B)-1, v5, a3, 0, 0, a4);\n}", "assembly": "; \n; GJItemIcon::createStoreItem from 0x404a94 to 0x404ad6 (66 bytes)\n; \n; 2 xrefs:\n; > GJShopLayer::init @ 0x4e3a4c\n; > PurchaseItemPopup::init @ 0x4e407e\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            {R4,R5,LR}                                             ; +0x0, 0x404a94\nSUB             SP, SP, #0x24                                          ; +0x2, 0x404a96\nMOVS            R4, #0xFF                                              ; +0x4, 0x404a98\nMOVS            R5, #0                                                 ; +0x6, 0x404a9a\nSTRB.W          R4, [SP,#0x24+var_8.g]                                 ; +0x8, 0x404a9c\nSTRB.W          R4, [SP,#0x24+var_8.b]                                 ; +0xc, 0x404aa0\nLDR             R4, =(unk_9AB290 - 0x404AAE)                           ; +0x10, 0x404aa4\nSTMEA.W         SP, {R2,R5}                                            ; +0x12, 0x404aa6\nADD             R4, PC; unk_9AB290                                     ; +0x16, 0x404aaa\nSTRH.W          R3, [SP,#0x24+var_18]                                  ; +0x18, 0x404aac\nLSRS            R3, R3, #0x10                                          ; +0x1c, 0x404ab0\nSTRB.W          R3, [SP,#0x24+var_16]                                  ; +0x1e, 0x404ab2\nLDRB            R2, [R4,#(word_9AB298 - 0x9AB290)]                     ; +0x22, 0x404ab6\nMOV             R3, R4                                                 ; +0x24, 0x404ab8\nLDRB            R4, [R4,#(word_9AB298+1 - 0x9AB290)]                   ; +0x26, 0x404aba\nLDRB            R3, [R3,#(byte_9AB29A - 0x9AB290)]                     ; +0x28, 0x404abc\nSTRB.W          R5, [SP,#0x24+var_8]                                   ; +0x2a, 0x404abe\nORR.W           R2, R2, R4,LSL#8                                       ; +0x2e, 0x404ac2\nSTR             R5, [SP,#0x24+var_1C]                                  ; +0x32, 0x404ac6\nORR.W           R2, R2, R3,LSL#16                                      ; +0x34, 0x404ac8\nLDR             R3, [SP,#0x24+var_8]                                   ; +0x38, 0x404acc\nBL              _ZN10GJItemIcon6createE10UnlockTypeiN7cocos2d10_ccColor3BES2_bbbS2_; GJItemIcon::create(UnlockType,int,cocos2d::_ccColor3B,cocos2d::_ccColor3B,bool,bool,bool,cocos2d::_ccColor3B) ; +0x3a, 0x404ace\nADD             SP, SP, #0x24 ; '$'                                    ; +0x3e, 0x404ad2\nPOP             {R4,R5,PC}                                             ; +0x40, 0x404ad4", "xrefs": ["GJShopLayer::init @ 0x4e3a4c", "PurchaseItemPopup::init @ 0x4e407e"], "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"}