{"type": "func", "start": 7958204, "end": 7958292, "name": "GJGarageLayer::getItems", "pseudocode": "// \n// GJGarageLayer::getItems from 0x796ebc to 0x796f14 (88 bytes)\n// \n// 3 xrefs:\n// > GJGarageLayer::setupSpecialPage @ 0x796f7c\n// > GJGarageLayer::setupSpecialPage @ 0x797078\n// > <???> @ 0x78b88\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 *GJGarageLayer::getItems(GJGarageLayer *a1, IconType a2)\n{\n  GameManager *v4; // x0\n  int v5; // w20\n  GameManager *v6; // x0\n  int active; // w0\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((__int64)a1, v5, 0, a2, active);\n}", "assembly": "; \n; GJGarageLayer::getItems from 0x796ebc to 0x796f14 (88 bytes)\n; \n; 3 xrefs:\n; > GJGarageLayer::setupSpecialPage @ 0x796f7c\n; > GJGarageLayer::setupSpecialPage @ 0x797078\n; > <???> @ 0x78b88\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             X29, X30, [SP,#var_30]!                                ; +0x0, 0x796ebc\nMOV             X29, SP                                                ; +0x4, 0x796ec0\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0x796ec4\nSTR             X21, [SP,#0x30+var_10]                                 ; +0xc, 0x796ec8\nMOV             W19, W1                                                ; +0x10, 0x796ecc\nMOV             X21, X0                                                ; +0x14, 0x796ed0\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x18, 0x796ed4\nMOV             W1, W19                                                ; +0x1c, 0x796ed8\nBL              _ZN11GameManager12countForTypeE8IconType; GameManager::countForType(IconType) ; +0x20, 0x796edc\nMOV             W20, W0                                                ; +0x24, 0x796ee0\nBL              _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x28, 0x796ee4\nMOV             W1, W19                                                ; +0x2c, 0x796ee8\nBL              _ZN11GameManager17activeIconForTypeE8IconType; GameManager::activeIconForType(IconType) ; +0x30, 0x796eec\nMOV             W4, W0                                                 ; +0x34, 0x796ef0\nMOV             W1, W20                                                ; +0x38, 0x796ef4\nMOV             X0, X21                                                ; +0x3c, 0x796ef8\nMOV             W3, W19                                                ; +0x40, 0x796efc\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x44, 0x796f00\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x48, 0x796f04\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x4c, 0x796f08\nMOV             W2, #0                                                 ; +0x50, 0x796f0c\nB               _ZN13GJGarageLayer8getItemsEii8IconTypei; GJGarageLayer::getItems(int,int,IconType,int) ; +0x54, 0x796f10", "xrefs": ["GJGarageLayer::setupSpecialPage @ 0x796f7c", "GJGarageLayer::setupSpecialPage @ 0x797078", "<???> @ 0x78b88"], "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"}