{"type": "func", "start": 5371542288, "end": 5371543286, "name": "GJSmartTemplate::keyFromNeighbors", "pseudocode": "// \n// GJSmartTemplate::keyFromNeighbors from 0x1402b3b10 to 0x1402b3ef6 (998 bytes)\n// \n// 3 xrefs:\n// > EditorUI::addObjectsToSmartTemplate @ 0x1401162ce\n// > EditorUI::createSmartObjectsFromTemplate @ 0x1401172a6\n// > <???> @ 0x1406d23e4\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\n// Hidden C++ exception states: #wind=1\n__int64 __fastcall GJSmartTemplate::keyFromNeighbors(\n        __int64 a1,\n        __int64 a2,\n        SmartGameObject *a3,\n        SmartGameObject *a4,\n        SmartGameObject *a5,\n        SmartGameObject *a6,\n        SmartGameObject *a7,\n        SmartGameObject *a8,\n        SmartGameObject *a9,\n        SmartGameObject *a10,\n        SmartGameObject *a11)\n{\n  float v12; // xmm9_4\n  ObjectToolbox *v13; // rcx\n  float v14; // xmm0_4\n  float v15; // xmm8_4\n  double v16; // xmm0_8\n  float v17; // xmm9_4\n  double v18; // xmm0_8\n  float v19; // xmm9_4\n  double v20; // xmm0_8\n  float v21; // xmm9_4\n  double v22; // xmm0_8\n  float v23; // xmm9_4\n  double v24; // xmm0_8\n  float v25; // xmm9_4\n  double v26; // xmm0_8\n  double v27; // xmm0_8\n  char v28; // r13\n  char v29; // r12\n  char v30; // r15\n  char v31; // r14\n  char v32; // si\n  char v33; // di\n  char v34; // bl\n  cocos2d::CCPoint v35; // rax\n  char v36; // al\n  char v38; // [rsp+30h] [rbp-D8h]\n  _BYTE v40[8]; // [rsp+80h] [rbp-88h] BYREF\n  _BYTE v41[8]; // [rsp+88h] [rbp-80h] BYREF\n  _BYTE v42[8]; // [rsp+90h] [rbp-78h] BYREF\n  _BYTE v43[8]; // [rsp+98h] [rbp-70h] BYREF\n  _BYTE v44[8]; // [rsp+A0h] [rbp-68h] BYREF\n  _BYTE v45[8]; // [rsp+A8h] [rbp-60h] BYREF\n  _BYTE v46[8]; // [rsp+B0h] [rbp-58h] BYREF\n  _BYTE v47[8]; // [rsp+B8h] [rbp-50h] BYREF\n  SmartGameObject *v48; // [rsp+C0h] [rbp-48h]\n  __int64 v49; // [rsp+C8h] [rbp-40h]\n  SmartGameObject *v50; // [rsp+D0h] [rbp-38h]\n  __int64 v51; // [rsp+D8h] [rbp-30h]\n  cocos2d::CCPoint v52; // [rsp+E0h] [rbp-28h] BYREF\n\n  v48 = a4;\n  v50 = a3;\n  v49 = a2;\n  v51 = a1;\n  v12 = 30.0;\n  ObjectToolbox::sharedState();\n  v14 = ObjectToolbox::gridNodeSizeForKey(v13, 0);\n  v15 = v14;\n  if ( v14 == 15.0 )\n    v12 = 15.0;\n  cocos2d::CCPoint::CCPoint(v14, v12);\n  v16 = cocos2d::CCPoint::operator+(a2, v40);\n  v17 = 30.0;\n  ObjectToolbox::sharedState();\n  if ( v15 == 15.0 )\n    v17 = 15.0;\n  cocos2d::CCPoint::CCPoint(*(float *)&v16, -v17);\n  v18 = cocos2d::CCPoint::operator+(a2, v41);\n  v19 = 30.0;\n  ObjectToolbox::sharedState();\n  if ( v15 == 15.0 )\n    v19 = 15.0;\n  cocos2d::CCPoint::CCPoint(*(float *)&v18, v19);\n  v20 = cocos2d::CCPoint::operator+(a2, v42);\n  v21 = 30.0;\n  ObjectToolbox::sharedState();\n  if ( v15 == 15.0 )\n    v21 = 15.0;\n  cocos2d::CCPoint::CCPoint(*(float *)&v20, -v21);\n  v22 = cocos2d::CCPoint::operator+(a2, v43);\n  v23 = 30.0;\n  ObjectToolbox::sharedState();\n  if ( v15 == 15.0 )\n    v23 = 15.0;\n  cocos2d::CCPoint::CCPoint(*(float *)&v22, v23);\n  v24 = cocos2d::CCPoint::operator+(a2, v44);\n  v25 = 30.0;\n  ObjectToolbox::sharedState();\n  if ( v15 == 15.0 )\n    v25 = 15.0;\n  cocos2d::CCPoint::CCPoint(*(float *)&v24, -v25);\n  v26 = cocos2d::CCPoint::operator+(a2, v45);\n  ObjectToolbox::sharedState();\n  cocos2d::CCPoint::CCPoint(*(float *)&v26, 0.0);\n  v27 = cocos2d::CCPoint::operator+(a2, v46);\n  ObjectToolbox::sharedState();\n  cocos2d::CCPoint::CCPoint(*(float *)&v27, 0.0);\n  cocos2d::CCPoint::operator+(a2, v47);\n  v38 = GJSmartTemplate::smartObjectToType(a11, (cocos2d::CCPoint)v40);\n  v28 = GJSmartTemplate::smartObjectToType(a10, (cocos2d::CCPoint)v41);\n  v29 = GJSmartTemplate::smartObjectToType(a9, (cocos2d::CCPoint)v42);\n  v30 = GJSmartTemplate::smartObjectToType(a8, (cocos2d::CCPoint)v43);\n  v31 = GJSmartTemplate::smartObjectToType(a7, (cocos2d::CCPoint)v44);\n  v32 = GJSmartTemplate::smartObjectToType(a6, (cocos2d::CCPoint)v45);\n  v33 = GJSmartTemplate::smartObjectToType(a5, (cocos2d::CCPoint)v46);\n  v34 = GJSmartTemplate::smartObjectToType(v48, (cocos2d::CCPoint)v47);\n  cocos2d::CCPoint::CCPoint(&v52);\n  v36 = GJSmartTemplate::smartObjectToType(v50, v35);\n  *(_OWORD *)a1 = 0;\n  *(_QWORD *)(a1 + 16) = 0;\n  *(_QWORD *)(a1 + 24) = 15;\n  *(_BYTE *)a1 = 0;\n  sub_14003B190((void **)a1, v36);\n  sub_14003B190((void **)a1, v34);\n  sub_14003B190((void **)a1, v33);\n  sub_14003B190((void **)a1, v32);\n  sub_14003B190((void **)a1, v31);\n  sub_14003B190((void **)a1, v30);\n  sub_14003B190((void **)a1, v29);\n  sub_14003B190((void **)a1, v28);\n  sub_14003B190((void **)a1, v38);\n  return a1;\n}", "assembly": "; \n; GJSmartTemplate::keyFromNeighbors from 0x1402b3b10 to 0x1402b3ef6 (998 bytes)\n; \n; 3 xrefs:\n; > EditorUI::addObjectsToSmartTemplate @ 0x1401162ce\n; > EditorUI::createSmartObjectsFromTemplate @ 0x1401172a6\n; > <???> @ 0x1406d23e4\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     rax, rsp                                                       ; +0x0, 0x1402b3b10\npush    rbp                                                            ; +0x3, 0x1402b3b13\npush    rbx                                                            ; +0x4, 0x1402b3b14\npush    rsi                                                            ; +0x5, 0x1402b3b15\npush    rdi                                                            ; +0x6, 0x1402b3b16\npush    r12                                                            ; +0x7, 0x1402b3b17\npush    r13                                                            ; +0x9, 0x1402b3b19\npush    r14                                                            ; +0xb, 0x1402b3b1b\npush    r15                                                            ; +0xd, 0x1402b3b1d\nlea     rbp, [rax-78h]                                                 ; +0xf, 0x1402b3b1f\nsub     rsp, 138h                                                      ; +0x13, 0x1402b3b23\nmovaps  xmmword ptr [rax-58h], xmm6                                    ; +0x1a, 0x1402b3b2a\nmovaps  xmmword ptr [rax-68h], xmm7                                    ; +0x1e, 0x1402b3b2e\nmovaps  xmmword ptr [rax-78h], xmm8                                    ; +0x22, 0x1402b3b32\nmovaps  xmmword ptr [rax-88h], xmm9                                    ; +0x27, 0x1402b3b37\nmovaps  xmmword ptr [rax-98h], xmm10                                   ; +0x2f, 0x1402b3b3f\nmov     [rbp+70h+var_B8], r9                                           ; +0x37, 0x1402b3b47\nmov     [rbp+70h+var_A8], r8                                           ; +0x3b, 0x1402b3b4b\nmov     rbx, rdx                                                       ; +0x3f, 0x1402b3b4f\nmov     [rbp+70h+var_B0], rdx                                          ; +0x42, 0x1402b3b52\nmov     [rsp+170h+Src], rcx                                            ; +0x46, 0x1402b3b56\nmov     [rbp+70h+var_A0], rcx                                          ; +0x4b, 0x1402b3b5b\nmov     rdi, [rbp+70h+arg_20]                                          ; +0x4f, 0x1402b3b5f\nmov     rsi, [rbp+70h+arg_28]                                          ; +0x56, 0x1402b3b66\nmov     r14, [rbp+70h+arg_30]                                          ; +0x5d, 0x1402b3b6d\nmov     r15, [rbp+70h+arg_38]                                          ; +0x64, 0x1402b3b74\nmov     r12, [rbp+70h+arg_40]                                          ; +0x6b, 0x1402b3b7b\nmov     r13, [rbp+70h+arg_48]                                          ; +0x72, 0x1402b3b82\nmov     rax, [rbp+70h+arg_50]                                          ; +0x79, 0x1402b3b89\nmov     [rsp+170h+var_148], rax                                        ; +0x80, 0x1402b3b90\nmov     dword ptr [rsp+170h+var_150], 0                                ; +0x85, 0x1402b3b95\nmovss   xmm7, cs:dword_140623164                                       ; +0x8d, 0x1402b3b9d\nmovaps  xmm9, xmm7                                                     ; +0x95, 0x1402b3ba5\ncall    ObjectToolbox__sharedState                                     ; +0x99, 0x1402b3ba9\nxor     edx, edx                                                       ; +0x9e, 0x1402b3bae\ncall    ObjectToolbox__gridNodeSizeForKey                              ; +0xa0, 0x1402b3bb0\nmovaps  xmm8, xmm0                                                     ; +0xa5, 0x1402b3bb5\nmovss   xmm6, cs:dword_1406230E0                                       ; +0xa9, 0x1402b3bb9\nucomiss xmm8, xmm6                                                     ; +0xb1, 0x1402b3bc1\njp      short loc_1402B3BCD                                            ; +0xb5, 0x1402b3bc5\njnz     short loc_1402B3BCD                                            ; +0xb7, 0x1402b3bc7\nmovaps  xmm9, xmm6                                                     ; +0xb9, 0x1402b3bc9\nmovaps  xmm2, xmm9                                                     ; +0xbd, 0x1402b3bcd\nmovss   xmm10, dword ptr cs:xmmword_1406243F0                          ; +0xc1, 0x1402b3bd1\nxorps   xmm2, xmm10                                                    ; +0xca, 0x1402b3bda\nmovaps  xmm1, xmm9                                                     ; +0xce, 0x1402b3bde\nlea     rcx, [rsp+170h+var_138]                                        ; +0xd2, 0x1402b3be2\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xd7, 0x1402b3be7\nlea     r8, [rsp+170h+var_138]                                         ; +0xdd, 0x1402b3bed\nlea     rdx, [rsp+170h+var_F8]                                         ; +0xe2, 0x1402b3bf2\nmov     rcx, rbx                                                       ; +0xe7, 0x1402b3bf7\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0xea, 0x1402b3bfa\nmovaps  xmm9, xmm7                                                     ; +0xf0, 0x1402b3c00\ncall    ObjectToolbox__sharedState                                     ; +0xf4, 0x1402b3c04\nucomiss xmm8, xmm6                                                     ; +0xf9, 0x1402b3c09\njp      short loc_1402B3C15                                            ; +0xfd, 0x1402b3c0d\njnz     short loc_1402B3C15                                            ; +0xff, 0x1402b3c0f\nmovaps  xmm9, xmm6                                                     ; +0x101, 0x1402b3c11\nxorps   xmm9, xmm10                                                    ; +0x105, 0x1402b3c15\nmovaps  xmm2, xmm9                                                     ; +0x109, 0x1402b3c19\nmovaps  xmm1, xmm9                                                     ; +0x10d, 0x1402b3c1d\nlea     rcx, [rsp+170h+var_130]                                        ; +0x111, 0x1402b3c21\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x116, 0x1402b3c26\nlea     r8, [rsp+170h+var_130]                                         ; +0x11c, 0x1402b3c2c\nlea     rdx, [rbp+70h+var_F0]                                          ; +0x121, 0x1402b3c31\nmov     rcx, rbx                                                       ; +0x125, 0x1402b3c35\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x128, 0x1402b3c38\nmovaps  xmm9, xmm7                                                     ; +0x12e, 0x1402b3c3e\ncall    ObjectToolbox__sharedState                                     ; +0x132, 0x1402b3c42\nucomiss xmm8, xmm6                                                     ; +0x137, 0x1402b3c47\njp      short loc_1402B3C53                                            ; +0x13b, 0x1402b3c4b\njnz     short loc_1402B3C53                                            ; +0x13d, 0x1402b3c4d\nmovaps  xmm9, xmm6                                                     ; +0x13f, 0x1402b3c4f\nmovaps  xmm2, xmm9                                                     ; +0x143, 0x1402b3c53\nmovaps  xmm1, xmm9                                                     ; +0x147, 0x1402b3c57\nlea     rcx, [rsp+170h+var_128]                                        ; +0x14b, 0x1402b3c5b\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x150, 0x1402b3c60\nlea     r8, [rsp+170h+var_128]                                         ; +0x156, 0x1402b3c66\nlea     rdx, [rbp+70h+var_E8]                                          ; +0x15b, 0x1402b3c6b\nmov     rcx, rbx                                                       ; +0x15f, 0x1402b3c6f\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x162, 0x1402b3c72\nmovaps  xmm9, xmm7                                                     ; +0x168, 0x1402b3c78\ncall    ObjectToolbox__sharedState                                     ; +0x16c, 0x1402b3c7c\nucomiss xmm8, xmm6                                                     ; +0x171, 0x1402b3c81\njp      short loc_1402B3C8D                                            ; +0x175, 0x1402b3c85\njnz     short loc_1402B3C8D                                            ; +0x177, 0x1402b3c87\nmovaps  xmm9, xmm6                                                     ; +0x179, 0x1402b3c89\nmovaps  xmm1, xmm9                                                     ; +0x17d, 0x1402b3c8d\nxorps   xmm1, xmm10                                                    ; +0x181, 0x1402b3c91\nmovaps  xmm2, xmm9                                                     ; +0x185, 0x1402b3c95\nlea     rcx, [rsp+170h+var_120]                                        ; +0x189, 0x1402b3c99\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x18e, 0x1402b3c9e\nlea     r8, [rsp+170h+var_120]                                         ; +0x194, 0x1402b3ca4\nlea     rdx, [rbp+70h+var_E0]                                          ; +0x199, 0x1402b3ca9\nmov     rcx, rbx                                                       ; +0x19d, 0x1402b3cad\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x1a0, 0x1402b3cb0\nmovaps  xmm9, xmm7                                                     ; +0x1a6, 0x1402b3cb6\ncall    ObjectToolbox__sharedState                                     ; +0x1aa, 0x1402b3cba\nucomiss xmm8, xmm6                                                     ; +0x1af, 0x1402b3cbf\njp      short loc_1402B3CCB                                            ; +0x1b3, 0x1402b3cc3\njnz     short loc_1402B3CCB                                            ; +0x1b5, 0x1402b3cc5\nmovaps  xmm9, xmm6                                                     ; +0x1b7, 0x1402b3cc7\nxorps   xmm2, xmm2                                                     ; +0x1bb, 0x1402b3ccb\nmovaps  xmm1, xmm9                                                     ; +0x1be, 0x1402b3cce\nlea     rcx, [rsp+170h+var_118]                                        ; +0x1c2, 0x1402b3cd2\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x1c7, 0x1402b3cd7\nlea     r8, [rsp+170h+var_118]                                         ; +0x1cd, 0x1402b3cdd\nlea     rdx, [rbp+70h+var_D8]                                          ; +0x1d2, 0x1402b3ce2\nmov     rcx, rbx                                                       ; +0x1d6, 0x1402b3ce6\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x1d9, 0x1402b3ce9\nmovaps  xmm9, xmm7                                                     ; +0x1df, 0x1402b3cef\ncall    ObjectToolbox__sharedState                                     ; +0x1e3, 0x1402b3cf3\nucomiss xmm8, xmm6                                                     ; +0x1e8, 0x1402b3cf8\njp      short loc_1402B3D04                                            ; +0x1ec, 0x1402b3cfc\njnz     short loc_1402B3D04                                            ; +0x1ee, 0x1402b3cfe\nmovaps  xmm9, xmm6                                                     ; +0x1f0, 0x1402b3d00\nxorps   xmm9, xmm10                                                    ; +0x1f4, 0x1402b3d04\nxorps   xmm2, xmm2                                                     ; +0x1f8, 0x1402b3d08\nmovaps  xmm1, xmm9                                                     ; +0x1fb, 0x1402b3d0b\nlea     rcx, [rsp+170h+var_110]                                        ; +0x1ff, 0x1402b3d0f\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x204, 0x1402b3d14\nlea     r8, [rsp+170h+var_110]                                         ; +0x20a, 0x1402b3d1a\nlea     rdx, [rbp+70h+var_D0]                                          ; +0x20f, 0x1402b3d1f\nmov     rcx, rbx                                                       ; +0x213, 0x1402b3d23\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x216, 0x1402b3d26\nmovaps  xmm9, xmm7                                                     ; +0x21c, 0x1402b3d2c\ncall    ObjectToolbox__sharedState                                     ; +0x220, 0x1402b3d30\nucomiss xmm8, xmm6                                                     ; +0x225, 0x1402b3d35\njp      short loc_1402B3D41                                            ; +0x229, 0x1402b3d39\njnz     short loc_1402B3D41                                            ; +0x22b, 0x1402b3d3b\nmovaps  xmm9, xmm6                                                     ; +0x22d, 0x1402b3d3d\nxorps   xmm9, xmm10                                                    ; +0x231, 0x1402b3d41\nmovaps  xmm2, xmm9                                                     ; +0x235, 0x1402b3d45\nxorps   xmm1, xmm1                                                     ; +0x239, 0x1402b3d49\nlea     rcx, [rsp+170h+var_108]                                        ; +0x23c, 0x1402b3d4c\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x241, 0x1402b3d51\nlea     r8, [rsp+170h+var_108]                                         ; +0x247, 0x1402b3d57\nlea     rdx, [rbp+70h+var_C8]                                          ; +0x24c, 0x1402b3d5c\nmov     rcx, rbx                                                       ; +0x250, 0x1402b3d60\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x253, 0x1402b3d63\ncall    ObjectToolbox__sharedState                                     ; +0x259, 0x1402b3d69\nucomiss xmm8, xmm6                                                     ; +0x25e, 0x1402b3d6e\njp      short loc_1402B3D79                                            ; +0x262, 0x1402b3d72\njnz     short loc_1402B3D79                                            ; +0x264, 0x1402b3d74\nmovaps  xmm7, xmm6                                                     ; +0x266, 0x1402b3d76\nmovaps  xmm2, xmm7                                                     ; +0x269, 0x1402b3d79\nxorps   xmm1, xmm1                                                     ; +0x26c, 0x1402b3d7c\nlea     rcx, [rsp+170h+var_100]                                        ; +0x26f, 0x1402b3d7f\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x274, 0x1402b3d84\nlea     r8, [rsp+170h+var_100]                                         ; +0x27a, 0x1402b3d8a\nlea     rdx, [rbp+70h+var_C0]                                          ; +0x27f, 0x1402b3d8f\nmov     rcx, rbx                                                       ; +0x283, 0x1402b3d93\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x286, 0x1402b3d96\nlea     rdx, [rsp+170h+var_F8]                                         ; +0x28c, 0x1402b3d9c\nmov     rcx, [rsp+170h+var_148]                                        ; +0x291, 0x1402b3da1\ncall    GJSmartTemplate__smartObjectToType                             ; +0x296, 0x1402b3da6\nmov     dword ptr [rsp+170h+var_148], eax                              ; +0x29b, 0x1402b3dab\nlea     rdx, [rbp+70h+var_F0]                                          ; +0x29f, 0x1402b3daf\nmov     rcx, r13                                                       ; +0x2a3, 0x1402b3db3\ncall    GJSmartTemplate__smartObjectToType                             ; +0x2a6, 0x1402b3db6\nmov     r13d, eax                                                      ; +0x2ab, 0x1402b3dbb\nlea     rdx, [rbp+70h+var_E8]                                          ; +0x2ae, 0x1402b3dbe\nmov     rcx, r12                                                       ; +0x2b2, 0x1402b3dc2\ncall    GJSmartTemplate__smartObjectToType                             ; +0x2b5, 0x1402b3dc5\nmov     r12d, eax                                                      ; +0x2ba, 0x1402b3dca\nlea     rdx, [rbp+70h+var_E0]                                          ; +0x2bd, 0x1402b3dcd\nmov     rcx, r15                                                       ; +0x2c1, 0x1402b3dd1\ncall    GJSmartTemplate__smartObjectToType                             ; +0x2c4, 0x1402b3dd4\nmov     r15d, eax                                                      ; +0x2c9, 0x1402b3dd9\nlea     rdx, [rbp+70h+var_D8]                                          ; +0x2cc, 0x1402b3ddc\nmov     rcx, r14                                                       ; +0x2d0, 0x1402b3de0\ncall    GJSmartTemplate__smartObjectToType                             ; +0x2d3, 0x1402b3de3\nmov     r14d, eax                                                      ; +0x2d8, 0x1402b3de8\nlea     rdx, [rbp+70h+var_D0]                                          ; +0x2db, 0x1402b3deb\nmov     rcx, rsi                                                       ; +0x2df, 0x1402b3def\ncall    GJSmartTemplate__smartObjectToType                             ; +0x2e2, 0x1402b3df2\nmov     esi, eax                                                       ; +0x2e7, 0x1402b3df7\nlea     rdx, [rbp+70h+var_C8]                                          ; +0x2e9, 0x1402b3df9\nmov     rcx, rdi                                                       ; +0x2ed, 0x1402b3dfd\ncall    GJSmartTemplate__smartObjectToType                             ; +0x2f0, 0x1402b3e00\nmov     edi, eax                                                       ; +0x2f5, 0x1402b3e05\nlea     rdx, [rbp+70h+var_C0]                                          ; +0x2f7, 0x1402b3e07\nmov     rcx, [rbp+70h+var_B8]                                          ; +0x2fb, 0x1402b3e0b\ncall    GJSmartTemplate__smartObjectToType                             ; +0x2ff, 0x1402b3e0f\nmov     ebx, eax                                                       ; +0x304, 0x1402b3e14\nmov     rdx, [rbp+70h+var_B0]                                          ; +0x306, 0x1402b3e16\nlea     rcx, [rbp+70h+var_98]                                          ; +0x30a, 0x1402b3e1a\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0x30e, 0x1402b3e1e\nmov     rdx, rax                                                       ; +0x314, 0x1402b3e24\nmov     rcx, [rbp+70h+var_A8]                                          ; +0x317, 0x1402b3e27\ncall    GJSmartTemplate__smartObjectToType                             ; +0x31b, 0x1402b3e2b\nnop                                                                    ; +0x320, 0x1402b3e30\nxorps   xmm0, xmm0                                                     ; +0x321, 0x1402b3e31\nmov     rcx, [rsp+170h+Src]; Src                                       ; +0x324, 0x1402b3e34\nmovups  xmmword ptr [rcx], xmm0                                        ; +0x329, 0x1402b3e39\nxor     edx, edx                                                       ; +0x32c, 0x1402b3e3c\nmov     [rcx+10h], rdx                                                 ; +0x32e, 0x1402b3e3e\nmov     qword ptr [rcx+18h], 0Fh                                       ; +0x332, 0x1402b3e42\nmov     [rcx], dl                                                      ; +0x33a, 0x1402b3e4a\nmov     dword ptr [rsp+170h+var_150], 2                                ; +0x33c, 0x1402b3e4c\nmovzx   edx, al                                                        ; +0x344, 0x1402b3e54\ncall    sub_14003B190                                                  ; +0x347, 0x1402b3e57\nmovzx   edx, bl                                                        ; +0x34c, 0x1402b3e5c\nmov     rbx, [rsp+170h+Src]                                            ; +0x34f, 0x1402b3e5f\nmov     rcx, rbx; Src                                                  ; +0x354, 0x1402b3e64\ncall    sub_14003B190                                                  ; +0x357, 0x1402b3e67\nmovzx   edx, dil                                                       ; +0x35c, 0x1402b3e6c\nmov     rcx, rbx; Src                                                  ; +0x360, 0x1402b3e70\ncall    sub_14003B190                                                  ; +0x363, 0x1402b3e73\nmovzx   edx, sil                                                       ; +0x368, 0x1402b3e78\nmov     rcx, rbx; Src                                                  ; +0x36c, 0x1402b3e7c\ncall    sub_14003B190                                                  ; +0x36f, 0x1402b3e7f\nmovzx   edx, r14b                                                      ; +0x374, 0x1402b3e84\nmov     rcx, rbx; Src                                                  ; +0x378, 0x1402b3e88\ncall    sub_14003B190                                                  ; +0x37b, 0x1402b3e8b\nmovzx   edx, r15b                                                      ; +0x380, 0x1402b3e90\nmov     rcx, rbx; Src                                                  ; +0x384, 0x1402b3e94\ncall    sub_14003B190                                                  ; +0x387, 0x1402b3e97\nmovzx   edx, r12b                                                      ; +0x38c, 0x1402b3e9c\nmov     rcx, rbx; Src                                                  ; +0x390, 0x1402b3ea0\ncall    sub_14003B190                                                  ; +0x393, 0x1402b3ea3\nmovzx   edx, r13b                                                      ; +0x398, 0x1402b3ea8\nmov     rcx, rbx; Src                                                  ; +0x39c, 0x1402b3eac\ncall    sub_14003B190                                                  ; +0x39f, 0x1402b3eaf\nmovzx   edx, byte ptr [rsp+170h+var_148]                               ; +0x3a4, 0x1402b3eb4\nmov     rcx, rbx; Src                                                  ; +0x3a9, 0x1402b3eb9\ncall    sub_14003B190                                                  ; +0x3ac, 0x1402b3ebc\nnop                                                                    ; +0x3b1, 0x1402b3ec1\nmov     rax, rbx                                                       ; +0x3b2, 0x1402b3ec2\nlea     r11, [rsp+170h+var_38]                                         ; +0x3b5, 0x1402b3ec5\nmovaps  xmm6, xmmword ptr [r11-18h]                                    ; +0x3bd, 0x1402b3ecd\nmovaps  xmm7, xmmword ptr [r11-28h]                                    ; +0x3c2, 0x1402b3ed2\nmovaps  xmm8, xmmword ptr [r11-38h]                                    ; +0x3c7, 0x1402b3ed7\nmovaps  xmm9, xmmword ptr [r11-48h]                                    ; +0x3cc, 0x1402b3edc\nmovaps  xmm10, xmmword ptr [r11-58h]                                   ; +0x3d1, 0x1402b3ee1\nmov     rsp, r11                                                       ; +0x3d6, 0x1402b3ee6\npop     r15                                                            ; +0x3d9, 0x1402b3ee9\npop     r14                                                            ; +0x3db, 0x1402b3eeb\npop     r13                                                            ; +0x3dd, 0x1402b3eed\npop     r12                                                            ; +0x3df, 0x1402b3eef\npop     rdi                                                            ; +0x3e1, 0x1402b3ef1\npop     rsi                                                            ; +0x3e2, 0x1402b3ef2\npop     rbx                                                            ; +0x3e3, 0x1402b3ef3\npop     rbp                                                            ; +0x3e4, 0x1402b3ef4\nretn                                                                   ; +0x3e5, 0x1402b3ef5", "xrefs": ["EditorUI::addObjectsToSmartTemplate @ 0x1401162ce", "EditorUI::createSmartObjectsFromTemplate @ 0x1401172a6", "<???> @ 0x1406d23e4"], "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"}