{"type": "func", "start": 4300990208, "end": 4300990301, "name": "GameObject::createColorGroupContainer", "pseudocode": "// \n// GameObject::createColorGroupContainer from 0x1005be700 to 0x1005be75d (93 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\nvoid __fastcall GameObject::createColorGroupContainer(GameObject *a1, int a2)\n{\n  size_t v3; // rdi\n  std::array<short, 10> *v4; // rax\n\n  if ( !a1->m_colorGroups )\n  {\n    v3 = -1;\n    if ( a2 >= 0 )\n      v3 = 2LL * (unsigned int)a2;\n    v4 = (std::array<short, 10> *)operator new[](v3);\n    a1->m_colorGroups = v4;\n    if ( a2 > 0 )\n      __bzero(v4, 2LL * (unsigned int)a2);\n  }\n}", "assembly": "; \n; GameObject::createColorGroupContainer from 0x1005be700 to 0x1005be75d (93 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, 0x1005be700\nmov     rbp, rsp                                                       ; +0x1, 0x1005be701\npush    r15                                                            ; +0x4, 0x1005be704\npush    r14                                                            ; +0x6, 0x1005be706\npush    rbx                                                            ; +0x8, 0x1005be708\npush    rax                                                            ; +0x9, 0x1005be709\ncmp     qword ptr [rdi+498h], 0                                        ; +0xa, 0x1005be70a\njz      short loc_1005BE71F                                            ; +0x12, 0x1005be712\nadd     rsp, 8                                                         ; +0x14, 0x1005be714\npop     rbx                                                            ; +0x18, 0x1005be718\npop     r14                                                            ; +0x19, 0x1005be719\npop     r15                                                            ; +0x1b, 0x1005be71b\npop     rbp                                                            ; +0x1d, 0x1005be71d\nretn                                                                   ; +0x1e, 0x1005be71e\nmov     r14, rdi                                                       ; +0x1f, 0x1005be71f\nmov     ebx, esi                                                       ; +0x22, 0x1005be722\nadd     rbx, rbx                                                       ; +0x24, 0x1005be724\ntest    esi, esi                                                       ; +0x27, 0x1005be727\nmov     rdi, 0FFFFFFFFFFFFFFFFh                                        ; +0x29, 0x1005be729\ncmovns  rdi, rbx; __sz                                                 ; +0x30, 0x1005be730\nmov     r15d, esi                                                      ; +0x34, 0x1005be734\ncall    __Znam; operator new[](ulong)                                  ; +0x37, 0x1005be737\nmov     [r14+498h], rax                                                ; +0x3c, 0x1005be73c\ntest    r15d, r15d                                                     ; +0x43, 0x1005be743\njle     short loc_1005BE714                                            ; +0x46, 0x1005be746\nmov     rdi, rax                                                       ; +0x48, 0x1005be748\nmov     rsi, rbx                                                       ; +0x4b, 0x1005be74b\nadd     rsp, 8                                                         ; +0x4e, 0x1005be74e\npop     rbx                                                            ; +0x52, 0x1005be752\npop     r14                                                            ; +0x53, 0x1005be753\npop     r15                                                            ; +0x55, 0x1005be755\npop     rbp                                                            ; +0x57, 0x1005be757\njmp     ___bzero                                                       ; +0x58, 0x1005be758", "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"}