{"type": "func", "start": 4298563072, "end": 4298563148, "name": "GJGarageLayer::getItems_1", "pseudocode": "// \n// GJGarageLayer::getItems_1 from 0x10036de00 to 0x10036de4c (76 bytes)\n// \n// 0 xrefs:\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 *v2; // rax\n  int v3; // r15d\n  GameManager *v4; // rax\n  int active; // eax\n\n  v2 = GameManager::sharedState();\n  v3 = GameManager::countForType(v2, a2);\n  v4 = GameManager::sharedState();\n  active = GameManager::activeIconForType(v4, a2);\n  return GJGarageLayer::getItems(a1, v3, 0, a2, active);\n}", "assembly": "; \n; GJGarageLayer::getItems_1 from 0x10036de00 to 0x10036de4c (76 bytes)\n; \n; 0 xrefs:\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    rbp                                                            ; +0x0, 0x10036de00\nmov     rbp, rsp                                                       ; +0x1, 0x10036de01\npush    r15                                                            ; +0x4, 0x10036de04\npush    r14                                                            ; +0x6, 0x10036de06\npush    rbx                                                            ; +0x8, 0x10036de08\npush    rax                                                            ; +0x9, 0x10036de09\nmov     ebx, esi                                                       ; +0xa, 0x10036de0a\nmov     r14, rdi                                                       ; +0xc, 0x10036de0c\ncall    GameManager__sharedState                                       ; +0xf, 0x10036de0f\nmov     rdi, rax                                                       ; +0x14, 0x10036de14\nmov     esi, ebx                                                       ; +0x17, 0x10036de17\ncall    GameManager__countForType                                      ; +0x19, 0x10036de19\nmov     r15d, eax                                                      ; +0x1e, 0x10036de1e\ncall    GameManager__sharedState                                       ; +0x21, 0x10036de21\nmov     rdi, rax                                                       ; +0x26, 0x10036de26\nmov     esi, ebx                                                       ; +0x29, 0x10036de29\ncall    GameManager__activeIconForType                                 ; +0x2b, 0x10036de2b\nmov     rdi, r14                                                       ; +0x30, 0x10036de30\nmov     esi, r15d                                                      ; +0x33, 0x10036de33\nxor     edx, edx                                                       ; +0x36, 0x10036de36\nmov     ecx, ebx                                                       ; +0x38, 0x10036de38\nmov     r8d, eax                                                       ; +0x3a, 0x10036de3a\nadd     rsp, 8                                                         ; +0x3d, 0x10036de3d\npop     rbx                                                            ; +0x41, 0x10036de41\npop     r14                                                            ; +0x42, 0x10036de42\npop     r15                                                            ; +0x44, 0x10036de44\npop     rbp                                                            ; +0x46, 0x10036de46\njmp     GJGarageLayer__getItems                                        ; +0x47, 0x10036de47", "xrefs": [], "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"}