{"type": "func", "start": 4298778040, "end": 4298778128, "name": "GJGarageLayer::getItems_1", "pseudocode": "// \n// GJGarageLayer::getItems_1 from 0x1003a25b8 to 0x1003a2610 (88 bytes)\n// \n// 2 xrefs:\n// > GJGarageLayer::setupSpecialPage @ 0x1003a1ec0\n// > GJGarageLayer::setupSpecialPage @ 0x1003a1fc8\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:03:47 +0000\n// \n\n_QWORD *__fastcall GJGarageLayer::getItems_1(__int64 a1, __int64 a2)\n{\n  __int64 v4; // x0\n  __int64 v5; // x0\n  int v6; // w21\n  __int64 v7; // x0\n  int active; // w4\n\n  v4 = GameManager::sharedState(a1);\n  v5 = GameManager::countForType(v4, a2);\n  v6 = v5;\n  v7 = GameManager::sharedState(v5);\n  active = GameManager::activeIconForType(v7, a2);\n  return GJGarageLayer::getItems(a1, v6, 0, a2, active);\n}", "assembly": "; \n; GJGarageLayer::getItems_1 from 0x1003a25b8 to 0x1003a2610 (88 bytes)\n; \n; 2 xrefs:\n; > GJGarageLayer::setupSpecialPage @ 0x1003a1ec0\n; > GJGarageLayer::setupSpecialPage @ 0x1003a1fc8\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:03:47 +0000\n; \nSTP             X22, X21, [SP,#-0x10+var_20]!                          ; +0x0, 0x1003a25b8\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1003a25bc\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1003a25c0\nADD             X29, SP, #0x20                                         ; +0xc, 0x1003a25c4\nMOV             X19, X1                                                ; +0x10, 0x1003a25c8\nMOV             X20, X0                                                ; +0x14, 0x1003a25cc\nBL              GameManager__sharedState                               ; +0x18, 0x1003a25d0\nMOV             X1, X19                                                ; +0x1c, 0x1003a25d4\nBL              GameManager__countForType                              ; +0x20, 0x1003a25d8\nMOV             X21, X0                                                ; +0x24, 0x1003a25dc\nBL              GameManager__sharedState                               ; +0x28, 0x1003a25e0\nMOV             X1, X19                                                ; +0x2c, 0x1003a25e4\nBL              GameManager__activeIconForType                         ; +0x30, 0x1003a25e8\nMOV             X4, X0                                                 ; +0x34, 0x1003a25ec\nMOV             X0, X20                                                ; +0x38, 0x1003a25f0\nMOV             X1, X21                                                ; +0x3c, 0x1003a25f4\nMOV             W2, #0                                                 ; +0x40, 0x1003a25f8\nMOV             X3, X19                                                ; +0x44, 0x1003a25fc\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x48, 0x1003a2600\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x4c, 0x1003a2604\nLDP             X22, X21, [SP+0x20+var_20],#0x30                       ; +0x50, 0x1003a2608\nB               GJGarageLayer__getItems                                ; +0x54, 0x1003a260c", "xrefs": ["GJGarageLayer::setupSpecialPage @ 0x1003a1ec0", "GJGarageLayer::setupSpecialPage @ 0x1003a1fc8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}