{"type": "func", "start": 4304126320, "end": 4304126697, "name": "DeathMarkerLayer::create", "pseudocode": "// \n// DeathMarkerLayer::create from 0x1008bc170 to 0x1008bc2e9 (377 bytes)\n// \n// 1 xrefs:\n// > GJBaseGameLayer::addDeathMarkerLayer @ 0x10011ca64\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:37:26 +0000\n// \n\n_OWORD *__fastcall DeathMarkerLayer::create(\n        int a1,\n        int a2,\n        unsigned __int8 a3,\n        unsigned __int8 a4,\n        int a5,\n        int a6,\n        float a7,\n        float a8,\n        float a9,\n        int a10,\n        int a11,\n        int a12,\n        __int64 a13,\n        char a14,\n        char a15)\n{\n  _OWORD *v18; // rbx\n\n  v18 = operator new(0x1C8u);\n  __bzero(v18, 456);\n  cocos2d::CCNode::CCNode((__int64)v18);\n  *(_QWORD *)v18 = off_100BAF878;\n  v18[20] = 0;\n  v18[21] = 0;\n  v18[22] = 0;\n  *((_QWORD *)v18 + 46) = 0;\n  *((_DWORD *)v18 + 94) = 1065353216;\n  v18[24] = xmmword_100A13660;\n  *((_BYTE *)v18 + 400) = 0;\n  *(_OWORD *)((char *)v18 + 408) = 0;\n  *((_DWORD *)v18 + 106) = -65280;\n  *((_BYTE *)v18 + 428) = -1;\n  *((_QWORD *)v18 + 54) = 0x3F80000000000000LL;\n  *((_QWORD *)v18 + 55) = 0xFFFFFFFFLL;\n  *((_WORD *)v18 + 224) = 0;\n  *((_DWORD *)v18 + 113) = 0;\n  if ( (unsigned __int8)DeathMarkerLayer::init((_DWORD)v18, a1, a2, a3, a4, a5, a6, a10, a11, a12, a13, a14, a15) )\n  {\n    cocos2d::CCObject::autorelease((__int64)v18);\n  }\n  else\n  {\n    (*(void (__fastcall **)(_OWORD *, float, float, float))(*(_QWORD *)v18 + 16LL))(v18, a7, a8, a9);\n    return nullptr;\n  }\n  return v18;\n}", "assembly": "; \n; DeathMarkerLayer::create from 0x1008bc170 to 0x1008bc2e9 (377 bytes)\n; \n; 1 xrefs:\n; > GJBaseGameLayer::addDeathMarkerLayer @ 0x10011ca64\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:37:26 +0000\n; \npush    rbp                                                            ; +0x0, 0x1008bc170\nmov     rbp, rsp                                                       ; +0x1, 0x1008bc171\npush    r15                                                            ; +0x4, 0x1008bc174\npush    r14                                                            ; +0x6, 0x1008bc176\npush    r13                                                            ; +0x8, 0x1008bc178\npush    r12                                                            ; +0xa, 0x1008bc17a\npush    rbx                                                            ; +0xc, 0x1008bc17c\nsub     rsp, 58h                                                       ; +0xd, 0x1008bc17d\nmovss   [rbp+var_38], xmm2                                             ; +0x11, 0x1008bc181\nmovss   [rbp+var_34], xmm1                                             ; +0x16, 0x1008bc186\nmovss   [rbp+var_30], xmm0                                             ; +0x1b, 0x1008bc18b\nmov     r13d, r9d                                                      ; +0x20, 0x1008bc190\nmov     [rbp+var_40], r8                                               ; +0x23, 0x1008bc193\nmov     r12d, ecx                                                      ; +0x27, 0x1008bc197\nmov     r15d, edx                                                      ; +0x2a, 0x1008bc19a\nmov     [rbp+var_2C], esi                                              ; +0x2d, 0x1008bc19d\nmov     r14, rdi                                                       ; +0x30, 0x1008bc1a0\nmov     edi, 1C8h; __sz                                                ; +0x33, 0x1008bc1a3\ncall    __Znwm; operator new(ulong)                                    ; +0x38, 0x1008bc1a8\nmov     rbx, rax                                                       ; +0x3d, 0x1008bc1ad\nmov     esi, 1C8h                                                      ; +0x40, 0x1008bc1b0\nmov     rdi, rax                                                       ; +0x45, 0x1008bc1b5\ncall    ___bzero                                                       ; +0x48, 0x1008bc1b8\nmov     rdi, rbx                                                       ; +0x4d, 0x1008bc1bd\ncall    cocos2d__CCNode__CCNode                                        ; +0x50, 0x1008bc1c0\nmovzx   r8d, [rbp+arg_28]                                              ; +0x55, 0x1008bc1c5\nmovzx   edi, [rbp+arg_20]                                              ; +0x5a, 0x1008bc1ca\nmov     rsi, [rbp+arg_18]                                              ; +0x5e, 0x1008bc1ce\nmov     edx, [rbp+arg_10]                                              ; +0x62, 0x1008bc1d2\nmov     ecx, [rbp+arg_8]                                               ; +0x65, 0x1008bc1d5\nmov     eax, [rbp+arg_0]                                               ; +0x68, 0x1008bc1d8\nlea     r9, off_100BAF878                                              ; +0x6b, 0x1008bc1db\nmov     [rbx], r9                                                      ; +0x72, 0x1008bc1e2\nxorps   xmm0, xmm0                                                     ; +0x75, 0x1008bc1e5\nmovups  xmmword ptr [rbx+140h], xmm0                                   ; +0x78, 0x1008bc1e8\nmovups  xmmword ptr [rbx+150h], xmm0                                   ; +0x7f, 0x1008bc1ef\nmovups  xmmword ptr [rbx+160h], xmm0                                   ; +0x86, 0x1008bc1f6\nmov     qword ptr [rbx+170h], 0                                        ; +0x8d, 0x1008bc1fd\nmov     dword ptr [rbx+178h], 3F800000h                                ; +0x98, 0x1008bc208\nmovaps  xmm1, cs:xmmword_100A13660                                     ; +0xa2, 0x1008bc212\nmovups  xmmword ptr [rbx+180h], xmm1                                   ; +0xa9, 0x1008bc219\nmov     byte ptr [rbx+190h], 0                                         ; +0xb0, 0x1008bc220\nmovups  xmmword ptr [rbx+198h], xmm0                                   ; +0xb7, 0x1008bc227\nmov     dword ptr [rbx+1A8h], 0FFFF0100h                               ; +0xbe, 0x1008bc22e\nmov     byte ptr [rbx+1ACh], 0FFh                                      ; +0xc8, 0x1008bc238\nmovsd   xmm0, qword ptr cs:xmmword_100A03610                           ; +0xcf, 0x1008bc23f\nmovsd   qword ptr [rbx+1B0h], xmm0                                     ; +0xd7, 0x1008bc247\nmov     r9d, 0FFFFFFFFh                                                ; +0xdf, 0x1008bc24f\nmov     [rbx+1B8h], r9                                                 ; +0xe5, 0x1008bc255\nmov     word ptr [rbx+1C0h], 0                                         ; +0xec, 0x1008bc25c\nmov     dword ptr [rbx+1C4h], 0                                        ; +0xf5, 0x1008bc265\nmovzx   r8d, r8b                                                       ; +0xff, 0x1008bc26f\nmov     [rsp+80h+var_50], r8d                                          ; +0x103, 0x1008bc273\nmovzx   edi, dil                                                       ; +0x108, 0x1008bc278\nmov     [rsp+80h+var_58], edi                                          ; +0x10c, 0x1008bc27c\nmov     [rsp+80h+var_60], rsi                                          ; +0x110, 0x1008bc280\nmov     [rsp+80h+var_68], edx                                          ; +0x115, 0x1008bc285\nmov     [rsp+80h+var_70], ecx                                          ; +0x119, 0x1008bc289\nmov     [rsp+80h+var_78], eax                                          ; +0x11d, 0x1008bc28d\nmov     [rsp+80h+var_80], r13d                                         ; +0x121, 0x1008bc291\nmovzx   ecx, r15b                                                      ; +0x125, 0x1008bc295\nmovzx   r8d, r12b                                                      ; +0x129, 0x1008bc299\nmov     rdi, rbx                                                       ; +0x12d, 0x1008bc29d\nmov     rsi, r14                                                       ; +0x130, 0x1008bc2a0\nmov     edx, [rbp+var_2C]                                              ; +0x133, 0x1008bc2a3\nmov     r9, [rbp+var_40]                                               ; +0x136, 0x1008bc2a6\nmovss   xmm0, [rbp+var_30]                                             ; +0x13a, 0x1008bc2aa\nmovss   xmm1, [rbp+var_34]                                             ; +0x13f, 0x1008bc2af\nmovss   xmm2, [rbp+var_38]                                             ; +0x144, 0x1008bc2b4\ncall    DeathMarkerLayer__init                                         ; +0x149, 0x1008bc2b9\ntest    al, al                                                         ; +0x14e, 0x1008bc2be\njz      short loc_1008BC2CC                                            ; +0x150, 0x1008bc2c0\nmov     rdi, rbx                                                       ; +0x152, 0x1008bc2c2\ncall    cocos2d__CCObject__autorelease                                 ; +0x155, 0x1008bc2c5\njmp     short loc_1008BC2D7                                            ; +0x15a, 0x1008bc2ca\nmov     rax, [rbx]                                                     ; +0x15c, 0x1008bc2cc\nmov     rdi, rbx                                                       ; +0x15f, 0x1008bc2cf\ncall    qword ptr [rax+10h]                                            ; +0x162, 0x1008bc2d2\nxor     ebx, ebx                                                       ; +0x165, 0x1008bc2d5\nmov     rax, rbx                                                       ; +0x167, 0x1008bc2d7\nadd     rsp, 58h                                                       ; +0x16a, 0x1008bc2da\npop     rbx                                                            ; +0x16e, 0x1008bc2de\npop     r12                                                            ; +0x16f, 0x1008bc2df\npop     r13                                                            ; +0x171, 0x1008bc2e1\npop     r14                                                            ; +0x173, 0x1008bc2e3\npop     r15                                                            ; +0x175, 0x1008bc2e5\npop     rbp                                                            ; +0x177, 0x1008bc2e7\nretn                                                                   ; +0x178, 0x1008bc2e8", "xrefs": ["GJBaseGameLayer::addDeathMarkerLayer @ 0x10011ca64"], "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"}