{"type": "func", "start": 4213468, "end": 4213540, "name": "GJItemIcon::createBrowserItem", "pseudocode": "// \n// GJItemIcon::createBrowserItem from 0x404adc to 0x404b24 (72 bytes)\n// \n// 4 xrefs:\n// > GJGarageLayer::dialogClosed @ 0x404bd0\n// > ItemInfoPopup::init @ 0x404f18\n// > GJGarageLayer::getItems @ 0x405c4c\n// > GJGarageLayer::setupSpecialPage @ 0x405fd6\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::createBrowserItem(UnlockType a1, int a2)\n{\n  cocos2d::ccColor3B v3; // [sp+Ch] [bp-4h]\n  cocos2d::ccColor3B vars0; // [sp+10h] [bp+0h]\n  cocos2d::ccColor3B vars4; // [sp+14h] [bp+4h]\n\n  *(_WORD *)&vars0.r = -20561;\n  vars0.b = -81;\n  *(_WORD *)&vars4.r = -1;\n  vars4.b = -1;\n  *(_WORD *)&v3.r = -1;\n  v3.b = -1;\n  return GJItemIcon::create(a1, a2, vars0, vars4, 0, 1, 1, v3);\n}", "assembly": "; \n; GJItemIcon::createBrowserItem from 0x404adc to 0x404b24 (72 bytes)\n; \n; 4 xrefs:\n; > GJGarageLayer::dialogClosed @ 0x404bd0\n; > ItemInfoPopup::init @ 0x404f18\n; > GJGarageLayer::getItems @ 0x405c4c\n; > GJGarageLayer::setupSpecialPage @ 0x405fd6\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            {R0-R6,LR}                                             ; +0x0, 0x404adc\nMOVS            R3, #0xAF                                              ; +0x2, 0x404ade\nSTRB.W          R3, [SP,#0x10+var_s0]                                  ; +0x4, 0x404ae0\nSTRB.W          R3, [SP,#0x10+var_s0+1]                                ; +0x8, 0x404ae4\nSTRB.W          R3, [SP,#0x10+var_s0+2]                                ; +0xc, 0x404ae8\nMOVS            R3, #0xFF                                              ; +0x10, 0x404aec\nSTRB.W          R3, [SP,#0x10+var_s4]                                  ; +0x12, 0x404aee\nSTRB.W          R3, [SP,#0x10+var_s4+1]                                ; +0x16, 0x404af2\nSTRB.W          R3, [SP,#0x10+var_s4+2]                                ; +0x1a, 0x404af6\nMOVS            R3, #0                                                 ; +0x1e, 0x404afa\nSTR             R3, [SP,#0x10+var_10]                                  ; +0x20, 0x404afc\nMOVS            R3, #1                                                 ; +0x22, 0x404afe\nSTR             R3, [SP,#0x10+var_C]                                   ; +0x24, 0x404b00\nSTR             R3, [SP,#0x10+var_8]                                   ; +0x26, 0x404b02\nLDR             R3, =(unk_9AB290 - 0x404B0A)                           ; +0x28, 0x404b04\nADD             R3, PC; unk_9AB290                                     ; +0x2a, 0x404b06\nLDRH.W          R2, [R3,#(word_9AB298 - 0x9AB290)]!                    ; +0x2c, 0x404b08\nLDRB            R3, [R3,#(byte_9AB29A - 0x9AB298)]                     ; +0x30, 0x404b0c\nSTRH.W          R2, [SP,#0x10+var_4]                                   ; +0x32, 0x404b0e\nLDR             R2, [SP,#0x10+var_s0]                                  ; +0x36, 0x404b12\nSTRB.W          R3, [SP,#0x10+var_2]                                   ; +0x38, 0x404b14\nLDR             R3, [SP,#0x10+var_s4]                                  ; +0x3c, 0x404b18\nBL              _ZN10GJItemIcon6createE10UnlockTypeiN7cocos2d10_ccColor3BES2_bbbS2_; GJItemIcon::create(UnlockType,int,cocos2d::_ccColor3B,cocos2d::_ccColor3B,bool,bool,bool,cocos2d::_ccColor3B) ; +0x3e, 0x404b1a\nADD             SP, SP, #0x1C                                          ; +0x42, 0x404b1e\nPOP.W           {PC}                                                   ; +0x44, 0x404b20", "xrefs": ["GJGarageLayer::dialogClosed @ 0x404bd0", "ItemInfoPopup::init @ 0x404f18", "GJGarageLayer::getItems @ 0x405c4c", "GJGarageLayer::setupSpecialPage @ 0x405fd6"], "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"}