{"type": "func", "start": 4301835104, "end": 4301835247, "name": "GameObject::addInternalChild", "pseudocode": "// \n// GameObject::addInternalChild from 0x10068cb60 to 0x10068cbef (143 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: pc, 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 12:35:06 +0000\n// \n\nchar *__fastcall GameObject::addInternalChild(\n        double a1,\n        __int64 a2,\n        __int64 a3,\n        __int64 a4,\n        unsigned __int64 *a5,\n        unsigned int a6)\n{\n  __int64 v9; // r12\n  char *v10; // r12\n  double v12; // [rsp+8h] [rbp-38h] BYREF\n  unsigned __int64 v13[6]; // [rsp+10h] [rbp-30h] BYREF\n\n  cocos2d::CCNode::convertToNodeSpace((double *)v13, a3, (unsigned int *)&unk_100BE5C00);\n  if ( (*(_BYTE *)a4 & 1) != 0 )\n    v9 = *(_QWORD *)(a4 + 16);\n  else\n    v9 = a4 + 1;\n  v10 = cocos2d::CCSprite::createWithSpriteFrameName(v9, a1);\n  sub_100278350(&v12, v13, a5);\n  (*(void (__fastcall **)(char *, double *))(*(_QWORD *)v10 + 184LL))(v10, &v12);\n  (*(void (__fastcall **)(__int64, char *, _QWORD))(*(_QWORD *)a3 + 464LL))(a3, v10, a6);\n  return v10;\n}", "assembly": "; \n; GameObject::addInternalChild from 0x10068cb60 to 0x10068cbef (143 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: pc, 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 12:35:06 +0000\n; \npush    rbp                                                            ; +0x0, 0x10068cb60\nmov     rbp, rsp                                                       ; +0x1, 0x10068cb61\npush    r15                                                            ; +0x4, 0x10068cb64\npush    r14                                                            ; +0x6, 0x10068cb66\npush    r13                                                            ; +0x8, 0x10068cb68\npush    r12                                                            ; +0xa, 0x10068cb6a\npush    rbx                                                            ; +0xc, 0x10068cb6c\nsub     rsp, 18h                                                       ; +0xd, 0x10068cb6d\nmov     ebx, r8d                                                       ; +0x11, 0x10068cb71\nmov     r15, rcx                                                       ; +0x14, 0x10068cb74\nmov     r12, rdx                                                       ; +0x17, 0x10068cb77\nmov     r14, rsi                                                       ; +0x1a, 0x10068cb7a\nlea     rdx, unk_100BE5C00                                             ; +0x1d, 0x10068cb7d\nlea     rdi, [rbp+var_30]                                              ; +0x24, 0x10068cb84\ncall    cocos2d__CCNode__convertToNodeSpace                            ; +0x28, 0x10068cb88\ntest    byte ptr [r12], 1                                              ; +0x2d, 0x10068cb8d\njnz     short loc_10068CB99                                            ; +0x32, 0x10068cb92\ninc     r12                                                            ; +0x34, 0x10068cb94\njmp     short loc_10068CB9E                                            ; +0x37, 0x10068cb97\nmov     r12, [r12+10h]                                                 ; +0x39, 0x10068cb99\nmov     rdi, r12                                                       ; +0x3e, 0x10068cb9e\ncall    cocos2d__CCSprite__createWithSpriteFrameName                   ; +0x41, 0x10068cba1\nmov     r12, rax                                                       ; +0x46, 0x10068cba6\nlea     r13, [rbp+var_38]                                              ; +0x49, 0x10068cba9\nlea     rsi, [rbp+var_30]                                              ; +0x4d, 0x10068cbad\nmov     rdi, r13                                                       ; +0x51, 0x10068cbb1\nmov     rdx, r15                                                       ; +0x54, 0x10068cbb4\ncall    sub_100278350                                                  ; +0x57, 0x10068cbb7\nmov     rax, [r12]                                                     ; +0x5c, 0x10068cbbc\nmov     rdi, r12                                                       ; +0x60, 0x10068cbc0\nmov     rsi, r13                                                       ; +0x63, 0x10068cbc3\ncall    qword ptr [rax+0B8h]                                           ; +0x66, 0x10068cbc6\nmov     rax, [r14]                                                     ; +0x6c, 0x10068cbcc\nmov     rdi, r14                                                       ; +0x6f, 0x10068cbcf\nmov     rsi, r12                                                       ; +0x72, 0x10068cbd2\nmov     edx, ebx                                                       ; +0x75, 0x10068cbd5\ncall    qword ptr [rax+1D0h]                                           ; +0x77, 0x10068cbd7\nmov     rax, r12                                                       ; +0x7d, 0x10068cbdd\nadd     rsp, 18h                                                       ; +0x80, 0x10068cbe0\npop     rbx                                                            ; +0x84, 0x10068cbe4\npop     r12                                                            ; +0x85, 0x10068cbe5\npop     r13                                                            ; +0x87, 0x10068cbe7\npop     r14                                                            ; +0x89, 0x10068cbe9\npop     r15                                                            ; +0x8b, 0x10068cbeb\npop     rbp                                                            ; +0x8d, 0x10068cbed\nretn                                                                   ; +0x8e, 0x10068cbee", "xrefs": [], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}