{"type": "func", "start": 4301902080, "end": 4301902292, "name": "GameObject::addNewSlope02", "pseudocode": "// \n// GameObject::addNewSlope02 from 0x10069d100 to 0x10069d1d4 (212 bytes)\n// \n// 2 xrefs:\n// > GameObject::setupCustomSprites @ 0x10043ac8c\n// > GameObject::setupCustomSprites @ 0x10044ae29\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:16 +0000\n// \n\n__int64 __fastcall GameObject::addNewSlope02(_BYTE *a1, int a2)\n{\n  char *v2; // rbx\n  char *v3; // r15\n  unsigned __int64 v5; // [rsp+0h] [rbp-30h] BYREF\n  double v6; // [rsp+8h] [rbp-28h] BYREF\n  unsigned __int64 v7[4]; // [rsp+10h] [rbp-20h] BYREF\n\n  if ( a2 )\n    a1[559] = 1;\n  v2 = (char *)operator new(0x20u);\n  strcpy(v2, \"blockOutline_15new_001.png\");\n  sub_1002782D0(v7, &qword_100BE5C00);\n  a1[886] = 1;\n  cocos2d::CCNode::convertToNodeSpace((double *)&v5, (__int64)a1, (unsigned int *)&qword_100BE5C00);\n  v3 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)v2, 1.382033142703499e267);\n  sub_100278350(&v6, &v5, v7);\n  (*(void (__fastcall **)(char *, double *))(*(_QWORD *)v3 + 184LL))(v3, &v6);\n  (*(void (__fastcall **)(_BYTE *, char *, __int64))(*(_QWORD *)a1 + 464LL))(a1, v3, 2);\n  operator delete(v2);\n  return (*(__int64 (__fastcall **)(char *, float))(*(_QWORD *)v3 + 360LL))(v3, -26.5);\n}", "assembly": "; \n; GameObject::addNewSlope02 from 0x10069d100 to 0x10069d1d4 (212 bytes)\n; \n; 2 xrefs:\n; > GameObject::setupCustomSprites @ 0x10043ac8c\n; > GameObject::setupCustomSprites @ 0x10044ae29\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:16 +0000\n; \npush    rbp                                                            ; +0x0, 0x10069d100\nmov     rbp, rsp                                                       ; +0x1, 0x10069d101\npush    r15                                                            ; +0x4, 0x10069d104\npush    r14                                                            ; +0x6, 0x10069d106\npush    rbx                                                            ; +0x8, 0x10069d108\nsub     rsp, 18h                                                       ; +0x9, 0x10069d109\nmov     r14, rdi                                                       ; +0xd, 0x10069d10d\ntest    esi, esi                                                       ; +0x10, 0x10069d110\njz      short loc_10069D11C                                            ; +0x12, 0x10069d112\nmov     byte ptr [r14+22Fh], 1                                         ; +0x14, 0x10069d114\nmov     edi, 20h ; ' '; __sz                                           ; +0x1c, 0x10069d11c\ncall    __Znwm; operator new(ulong)                                    ; +0x21, 0x10069d121\nmov     rbx, rax                                                       ; +0x26, 0x10069d126\nmovups  xmm0, xmmword ptr cs:aBlockoutline15_0; \"blockOutline_15new_001.png\" ; +0x29, 0x10069d129\nmovups  xmmword ptr [rax], xmm0                                        ; +0x30, 0x10069d130\nmovups  xmm0, xmmword ptr cs:aBlockoutline15_0+0Ah; \"ne_15new_001.png\" ; +0x33, 0x10069d133\nmovups  xmmword ptr [rax+0Ah], xmm0                                    ; +0x3a, 0x10069d13a\nmov     byte ptr [rax+1Ah], 0                                          ; +0x3e, 0x10069d13e\nlea     rsi, qword_100BE5C00                                           ; +0x42, 0x10069d142\nlea     rdi, [rbp+var_20]                                              ; +0x49, 0x10069d149\ncall    sub_1002782D0                                                  ; +0x4d, 0x10069d14d\nmov     byte ptr [r14+376h], 1                                         ; +0x52, 0x10069d152\nlea     rdx, qword_100BE5C00                                           ; +0x5a, 0x10069d15a\nlea     rdi, [rbp+var_30]                                              ; +0x61, 0x10069d161\nmov     rsi, r14                                                       ; +0x65, 0x10069d165\ncall    cocos2d__CCNode__convertToNodeSpace                            ; +0x68, 0x10069d168\nmov     rdi, rbx                                                       ; +0x6d, 0x10069d16d\ncall    cocos2d__CCSprite__createWithSpriteFrameName                   ; +0x70, 0x10069d170\nmov     r15, rax                                                       ; +0x75, 0x10069d175\nlea     rdi, [rbp+var_28]                                              ; +0x78, 0x10069d178\nlea     rsi, [rbp+var_30]                                              ; +0x7c, 0x10069d17c\nlea     rdx, [rbp+var_20]                                              ; +0x80, 0x10069d180\ncall    sub_100278350                                                  ; +0x84, 0x10069d184\nmov     rax, [r15]                                                     ; +0x89, 0x10069d189\nlea     rsi, [rbp+var_28]                                              ; +0x8c, 0x10069d18c\nmov     rdi, r15                                                       ; +0x90, 0x10069d190\ncall    qword ptr [rax+0B8h]                                           ; +0x93, 0x10069d193\nmov     rax, [r14]                                                     ; +0x99, 0x10069d199\nmov     rdi, r14                                                       ; +0x9c, 0x10069d19c\nmov     rsi, r15                                                       ; +0x9f, 0x10069d19f\nmov     edx, 2                                                         ; +0xa2, 0x10069d1a2\ncall    qword ptr [rax+1D0h]                                           ; +0xa7, 0x10069d1a7\nmov     rdi, rbx; __p                                                  ; +0xad, 0x10069d1ad\ncall    __ZdlPv; operator delete(void *)                               ; +0xb0, 0x10069d1b0\nmov     rax, [r15]                                                     ; +0xb5, 0x10069d1b5\nmovss   xmm0, cs:dword_100A0A660                                       ; +0xb8, 0x10069d1b8\nmov     rdi, r15                                                       ; +0xc0, 0x10069d1c0\ncall    qword ptr [rax+168h]                                           ; +0xc3, 0x10069d1c3\nadd     rsp, 18h                                                       ; +0xc9, 0x10069d1c9\npop     rbx                                                            ; +0xcd, 0x10069d1cd\npop     r14                                                            ; +0xce, 0x10069d1ce\npop     r15                                                            ; +0xd0, 0x10069d1d0\npop     rbp                                                            ; +0xd2, 0x10069d1d2\nretn                                                                   ; +0xd3, 0x10069d1d3", "xrefs": ["GameObject::setupCustomSprites @ 0x10043ac8c", "GameObject::setupCustomSprites @ 0x10044ae29"], "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"}