{"type": "func", "start": 5371461072, "end": 5371461262, "name": "GameObject::addNewSlope02", "pseudocode": "// \n// GameObject::addNewSlope02 from 0x14029fdd0 to 0x14029fe8e (190 bytes)\n// \n// 3 xrefs:\n// > GameObject::setupCustomSprites @ 0x1402b2d7c\n// > GameObject::setupCustomSprites @ 0x1402b9d78\n// > <???> @ 0x14091d990\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 11:29:15 +0000\n// \n\n__int64 __fastcall GameObject::addNewSlope02(_BYTE *a1, char a2)\n{\n  __int64 v3; // rax\n  struct cocos2d::CCSprite *v4; // rax\n  __int128 v6; // [rsp+20h] [rbp-28h] BYREF\n  __int64 v7; // [rsp+30h] [rbp-18h]\n  __int64 v8; // [rsp+38h] [rbp-10h]\n  char v9; // [rsp+68h] [rbp+20h] BYREF\n\n  if ( a2 )\n    a1[559] = 1;\n  v6 = 0;\n  v7 = 0;\n  v8 = 0;\n  *(_QWORD *)&v6 = sub_14003D460(0x20u);\n  v7 = 26;\n  v8 = 31;\n  strcpy((char *)v6, \"blockOutline_15new_001.png\");\n  cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v9, (const struct cocos2d::CCPoint *)&unk_14090A8F0);\n  v4 = GameObject::addCustomChild(a1, (const char *)&v6, v3, 2u);\n  return (*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v4 + 352LL))(v4);\n}", "assembly": "; \n; GameObject::addNewSlope02 from 0x14029fdd0 to 0x14029fe8e (190 bytes)\n; \n; 3 xrefs:\n; > GameObject::setupCustomSprites @ 0x1402b2d7c\n; > GameObject::setupCustomSprites @ 0x1402b9d78\n; > <???> @ 0x14091d990\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 11:29:15 +0000\n; \npush    rbx                                                            ; +0x0, 0x14029fdd0\nsub     rsp, 40h                                                       ; +0x2, 0x14029fdd2\nmov     rbx, rcx                                                       ; +0x6, 0x14029fdd6\ntest    dl, dl                                                         ; +0x9, 0x14029fdd9\njz      short loc_14029FDE4                                            ; +0xb, 0x14029fddb\nmov     byte ptr [rcx+22Fh], 1                                         ; +0xd, 0x14029fddd\nlea     rax, [rsp+48h+var_28]                                          ; +0x14, 0x14029fde4\nmov     [rsp+48h+arg_10], rax                                          ; +0x19, 0x14029fde9\nxorps   xmm0, xmm0                                                     ; +0x1e, 0x14029fdee\nmovups  [rsp+48h+var_28], xmm0                                         ; +0x21, 0x14029fdf1\nxor     eax, eax                                                       ; +0x26, 0x14029fdf6\nmov     [rsp+48h+var_18], rax                                          ; +0x28, 0x14029fdf8\nmov     [rsp+48h+var_10], rax                                          ; +0x2d, 0x14029fdfd\nmov     ecx, 20h ; ' '                                                 ; +0x32, 0x14029fe02\ncall    sub_14003D460                                                  ; +0x37, 0x14029fe07\nmov     qword ptr [rsp+48h+var_28], rax                                ; +0x3c, 0x14029fe0c\nmov     [rsp+48h+var_18], 1Ah                                          ; +0x41, 0x14029fe11\nmov     [rsp+48h+var_10], 1Fh                                          ; +0x4a, 0x14029fe1a\nmovups  xmm0, cs:xmmword_14075F488                                     ; +0x53, 0x14029fe23\nmovups  xmmword ptr [rax], xmm0                                        ; +0x5a, 0x14029fe2a\nmovsd   xmm0, cs:qword_14075F498                                       ; +0x5d, 0x14029fe2d\nmovsd   qword ptr [rax+10h], xmm0                                      ; +0x65, 0x14029fe35\nmovzx   ecx, cs:word_14075F4A0                                         ; +0x6a, 0x14029fe3a\nmov     [rax+18h], cx                                                  ; +0x71, 0x14029fe41\nmov     byte ptr [rax+1Ah], 0                                          ; +0x75, 0x14029fe45\nlea     rdx, unk_14090A8F0                                             ; +0x79, 0x14029fe49\nlea     rcx, [rsp+48h+arg_18]                                          ; +0x80, 0x14029fe50\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x85, 0x14029fe55\nmov     r8, rax                                                        ; +0x8b, 0x14029fe5b\nmov     r9d, 2                                                         ; +0x8e, 0x14029fe5e\nlea     rdx, [rsp+48h+var_28]                                          ; +0x94, 0x14029fe64\nmov     rcx, rbx                                                       ; +0x99, 0x14029fe69\ncall    GameObject__addCustomChild                                     ; +0x9c, 0x14029fe6c\nmov     rcx, [rax]                                                     ; +0xa1, 0x14029fe71\nmov     rdx, [rcx+160h]                                                ; +0xa4, 0x14029fe74\nmovss   xmm1, cs:dword_140835E70                                       ; +0xab, 0x14029fe7b\nmov     rcx, rax                                                       ; +0xb3, 0x14029fe83\ncall    rdx                                                            ; +0xb6, 0x14029fe86\nadd     rsp, 40h                                                       ; +0xb8, 0x14029fe88\npop     rbx                                                            ; +0xbc, 0x14029fe8c\nretn                                                                   ; +0xbd, 0x14029fe8d", "xrefs": ["GameObject::setupCustomSprites @ 0x1402b2d7c", "GameObject::setupCustomSprites @ 0x1402b9d78", "<???> @ 0x14091d990"], "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"}