{"type": "func", "start": 4298135720, "end": 4298135808, "name": "GJGarageLayer::getItems_1", "pseudocode": "// \n// GJGarageLayer::getItems_1 from 0x1003058a8 to 0x100305900 (88 bytes)\n// \n// 2 xrefs:\n// > GJGarageLayer::setupSpecialPage @ 0x1003051b0\n// > GJGarageLayer::setupSpecialPage @ 0x1003052b8\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\ncocos2d::CCArray *__fastcall GJGarageLayer::getItems_1(GJGarageLayer *a1, IconType a2)\n{\n  GameManager *v4; // x0\n  int v5; // w21\n  GameManager *v6; // x0\n  int active; // w4\n\n  v4 = GameManager::sharedState();\n  v5 = GameManager::countForType(v4, a2);\n  v6 = GameManager::sharedState();\n  active = GameManager::activeIconForType(v6, a2);\n  return GJGarageLayer::getItems(a1, v5, 0, a2, active);\n}", "assembly": "; \n; GJGarageLayer::getItems_1 from 0x1003058a8 to 0x100305900 (88 bytes)\n; \n; 2 xrefs:\n; > GJGarageLayer::setupSpecialPage @ 0x1003051b0\n; > GJGarageLayer::setupSpecialPage @ 0x1003052b8\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             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x1003058a8\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1003058ac\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1003058b0\nADD             X29, SP, #0x20                                         ; +0xc, 0x1003058b4\nMOV             X19, X1                                                ; +0x10, 0x1003058b8\nMOV             X20, X0                                                ; +0x14, 0x1003058bc\nBL              GameManager__sharedState                               ; +0x18, 0x1003058c0\nMOV             X1, X19                                                ; +0x1c, 0x1003058c4\nBL              GameManager__countForType                              ; +0x20, 0x1003058c8\nMOV             X21, X0                                                ; +0x24, 0x1003058cc\nBL              GameManager__sharedState                               ; +0x28, 0x1003058d0\nMOV             X1, X19                                                ; +0x2c, 0x1003058d4\nBL              GameManager__activeIconForType                         ; +0x30, 0x1003058d8\nMOV             X4, X0                                                 ; +0x34, 0x1003058dc\nMOV             X0, X20                                                ; +0x38, 0x1003058e0\nMOV             X1, X21                                                ; +0x3c, 0x1003058e4\nMOV             W2, #0                                                 ; +0x40, 0x1003058e8\nMOV             X3, X19                                                ; +0x44, 0x1003058ec\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x48, 0x1003058f0\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x4c, 0x1003058f4\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x50, 0x1003058f8\nB               GJGarageLayer__getItems                                ; +0x54, 0x1003058fc", "xrefs": ["GJGarageLayer::setupSpecialPage @ 0x1003051b0", "GJGarageLayer::setupSpecialPage @ 0x1003052b8"], "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"}