{"type": "func", "start": 6442479408, "end": 6442479492, "name": "cocos2d::CCArray::initWithArray", "pseudocode": "// \n// cocos2d::CCArray::initWithArray from 0x180006f30 to 0x180006f84 (84 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801ad984\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\nchar __fastcall cocos2d::CCArray::initWithArray(cocos2d::CCArray *this, struct cocos2d::CCArray *a2)\n{\n  cocos2d::ccArray **p_data; // rdi\n  unsigned int num; // ebx\n  __int64 v5; // rax\n\n  p_data = &this->data;\n  sub_18009DA50(&this->data);\n  num = a2->data->num;\n  sub_18009DA50(p_data);\n  v5 = sub_18009DC90(num);\n  *p_data = (cocos2d::ccArray *)v5;\n  sub_18009D540(v5, a2->data);\n  return 1;\n}", "assembly": "; \n; cocos2d::CCArray::initWithArray from 0x180006f30 to 0x180006f84 (84 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801ad984\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180006f30\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180006f35\npush    rdi                                                            ; +0xa, 0x180006f3a\nsub     rsp, 20h                                                       ; +0xb, 0x180006f3b\nlea     rdi, [rcx+38h]                                                 ; +0xf, 0x180006f3f\nmov     rsi, rdx                                                       ; +0x13, 0x180006f43\nmov     rcx, rdi                                                       ; +0x16, 0x180006f46\ncall    sub_18009DA50                                                  ; +0x19, 0x180006f49\nmov     rax, [rsi+38h]                                                 ; +0x1e, 0x180006f4e\nmov     rcx, rdi                                                       ; +0x22, 0x180006f52\nmov     ebx, [rax]                                                     ; +0x25, 0x180006f55\ncall    sub_18009DA50                                                  ; +0x27, 0x180006f57\nmov     ecx, ebx; Count                                                ; +0x2c, 0x180006f5c\ncall    sub_18009DC90                                                  ; +0x2e, 0x180006f5e\nmov     [rdi], rax                                                     ; +0x33, 0x180006f63\nmov     rcx, rax                                                       ; +0x36, 0x180006f66\nmov     rdx, [rsi+38h]                                                 ; +0x39, 0x180006f69\ncall    sub_18009D540                                                  ; +0x3d, 0x180006f6d\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x42, 0x180006f72\nmov     al, 1                                                          ; +0x47, 0x180006f77\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x49, 0x180006f79\nadd     rsp, 20h                                                       ; +0x4e, 0x180006f7e\npop     rdi                                                            ; +0x52, 0x180006f82\nretn                                                                   ; +0x53, 0x180006f83", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801ad984"], "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"}