{"type": "func", "start": 5374933072, "end": 5374934806, "name": "BrowseSmartTemplateLayer::init", "pseudocode": "// \n// BrowseSmartTemplateLayer::init from 0x1405ef850 to 0x1405eff16 (1734 bytes)\n// \n// 3 xrefs:\n// > SetupSmartTemplateLayer::onClick @ 0x1405ef107\n// > BrowseSmartKeyLayer::onBack @ 0x1405f2203\n// > <???> @ 0x14092f198\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:35:05 +0000\n// \n\n// Hidden C++ exception states: #wind=7\nbool __fastcall BrowseSmartTemplateLayer::init(__int64 a1, cocos2d::CCObject *a2)\n{\n  bool result; // al\n  __int64 v5; // rcx\n  __int64 v6; // rax\n  _WORD *v7; // rax\n  char *v8; // rsi\n  __int64 v9; // rdi\n  __int64 v10; // rbx\n  __int64 v11; // rax\n  __int64 v12; // rax\n  unsigned int v13; // esi\n  cocos2d::CCDictionary *v14; // rbx\n  cocos2d::CCArray *v15; // r12\n  unsigned int v16; // r15d\n  cocos2d::CCString *v17; // rax\n  const char *CString; // rax\n  size_t v19; // r8\n  cocos2d::CCArray *v20; // rbx\n  void **v21; // rdx\n  void **v22; // rdx\n  __int64 v23; // rcx\n  _BYTE *v24; // r8\n  __int64 v25; // r9\n  void **v26; // r14\n  size_t v27; // rdi\n  size_t v28; // rbx\n  void *v29; // rcx\n  int v30; // r14d\n  _BYTE *v31; // r8\n  _BYTE *v32; // rdi\n  __int64 v33; // rbx\n  char *v34; // r8\n  char *v35; // rdi\n  char *v36; // rbx\n  char *v37; // rax\n  cocos2d::CCDictionary *v38; // [rsp+30h] [rbp-D0h] BYREF\n  __int128 v39; // [rsp+38h] [rbp-C8h] BYREF\n  size_t v40; // [rsp+48h] [rbp-B8h]\n  __int64 v41; // [rsp+50h] [rbp-B0h]\n  __int64 *v42; // [rsp+58h] [rbp-A8h] BYREF\n  void *Block[2]; // [rsp+60h] [rbp-A0h] BYREF\n  __int64 v44; // [rsp+70h] [rbp-90h]\n  float v45[2]; // [rsp+78h] [rbp-88h] BYREF\n  __int64 v46; // [rsp+80h] [rbp-80h] BYREF\n  _BYTE v47[32]; // [rsp+88h] [rbp-78h] BYREF\n  _BYTE v48[32]; // [rsp+A8h] [rbp-58h] BYREF\n  unsigned int v49; // [rsp+C8h] [rbp-38h]\n  char v50; // [rsp+CCh] [rbp-34h]\n  int v51; // [rsp+D0h] [rbp-30h]\n  __int16 v52; // [rsp+D4h] [rbp-2Ch]\n  char v53; // [rsp+D6h] [rbp-2Ah]\n  void *Src[2]; // [rsp+D8h] [rbp-28h] BYREF\n  size_t Size; // [rsp+E8h] [rbp-18h]\n  unsigned __int64 v56; // [rsp+F0h] [rbp-10h]\n  __int64 v57; // [rsp+100h] [rbp+0h]\n  __int128 v58; // [rsp+108h] [rbp+8h] BYREF\n  __int64 v59; // [rsp+118h] [rbp+18h]\n  __int64 v60; // [rsp+120h] [rbp+20h]\n  __int128 v61; // [rsp+128h] [rbp+28h] BYREF\n  __int64 v62; // [rsp+138h] [rbp+38h]\n  __int64 v63; // [rsp+140h] [rbp+40h]\n  unsigned int v64; // [rsp+148h] [rbp+48h]\n  bool isUnrequired; // [rsp+14Ch] [rbp+4Ch]\n  int v66; // [rsp+150h] [rbp+50h]\n  __int16 v67; // [rsp+154h] [rbp+54h]\n  char v68; // [rsp+156h] [rbp+56h]\n\n  result = FLAlertLayer::init_1(a1, 150);\n  if ( result )\n  {\n    BrowseSmartTemplateLayer::baseSetup(a1);\n    v6 = cocos2d::CCDirector::sharedDirector(v5);\n    cocos2d::CCDirector::getWinSize(v6, v45);\n    if ( a2 )\n    {\n      *(_QWORD *)(a1 + 664) = a2;\n      cocos2d::CCObject::retain(a2);\n    }\n    v38 = (cocos2d::CCDictionary *)&v39;\n    v39 = 0;\n    v40 = 0;\n    v41 = 0;\n    v7 = sub_14003D460(0x100u);\n    *(_QWORD *)&v39 = v7;\n    v40 = 243;\n    v41 = 255;\n    qmemcpy(\n      v7,\n      \"Shows the <cg>auto-build designs</c> in the current template.\\n\"\n      \"These will be used when the template is pasted.\\n\"\n      \"Click on an <cy>empty design</c> to paste it into editor.\\n\"\n      \"Click an <cl>added design</c> to change the chance of different variations\",\n      242);\n    v7[121] = (unsigned __int8)aShowsTheCgAuto[242];\n    *(_OWORD *)Src = 0;\n    Size = 4;\n    v56 = 15;\n    strcpy((char *)Src, \"Help\");\n    v8 = InfoAlertButton::create((__int64)Src, (__int64)&v39);\n    (*(void (__fastcall **)(_QWORD, char *))(**(_QWORD **)(a1 + 552) + 464LL))(*(_QWORD *)(a1 + 552), v8);\n    v9 = *(_QWORD *)v8;\n    v10 = *(_QWORD *)(a1 + 552);\n    cocos2d::CCPoint::CCPoint(\n      (cocos2d::CCPoint *)&v38,\n      (float)((float)(v45[0] * 0.5) + 225.0) - 18.0,\n      (float)((float)(v45[1] * 0.5) + 140.0) - 18.0);\n    cocos2d::CCNode::convertToNodeSpace(v10, &v42, v11);\n    (*(void (__fastcall **)(char *, __int64))(v9 + 184))(v8, v12);\n    if ( *(_QWORD *)(a1 + 664) )\n    {\n      v13 = 0;\n      v14 = *((cocos2d::CCDictionary **)a2 + 7);\n      v38 = v14;\n      v15 = cocos2d::CCDictionary::allKeys(v14);\n      v16 = 0;\n      if ( cocos2d::CCArray::count(v15) )\n      {\n        while ( 1 )\n        {\n          v17 = cocos2d::CCArray::stringAtIndex(v15, v16);\n          CString = cocos2d::CCString::getCString(v17);\n          *(_OWORD *)Src = 0;\n          Size = 0;\n          v56 = 0;\n          v19 = -1;\n          do\n            ++v19;\n          while ( CString[v19] );\n          sub_14003D230(Src, CString, v19);\n          v20 = (cocos2d::CCArray *)cocos2d::CCDictionary::objectForKey(v14, Src);\n          if ( cocos2d::CCArray::count(v20) )\n          {\n            v57 = 0;\n            v58 = 0;\n            v59 = 0;\n            v60 = 15;\n            LOBYTE(v58) = 0;\n            v61 = 0;\n            v62 = 0;\n            v63 = 15;\n            LOBYTE(v61) = 0;\n            v64 = 0;\n            isUnrequired = 0;\n            v66 = 0;\n            v67 = 0;\n            v68 = 0;\n            v21 = Src;\n            if ( v56 > 0xF )\n              v21 = (void **)Src[0];\n            sub_1400405A0((void **)&v58, v21, Size);\n            v22 = Src;\n            if ( v56 > 0xF )\n              v22 = (void **)Src[0];\n            sub_1400405A0((void **)&v61, v22, Size);\n            v64 = cocos2d::CCArray::count(v20);\n            v39 = 0;\n            v40 = 0;\n            v41 = 0;\n            v26 = Src;\n            if ( v56 > 0xF )\n              v26 = (void **)Src[0];\n            v27 = Size;\n            if ( Size > 0x7FFFFFFFFFFFFFFFLL )\n              sub_140009D90(v23);\n            if ( Size > 0xF )\n            {\n              v28 = Size | 0xF;\n              if ( (Size | 0xF) <= 0x7FFFFFFFFFFFFFFFLL )\n              {\n                if ( v28 < 0x16 )\n                  v28 = 22;\n              }\n              else\n              {\n                v28 = 0x7FFFFFFFFFFFFFFFLL;\n              }\n              *(_QWORD *)&v39 = sub_14003D460(v28 + 1);\n              v40 = v27;\n              v41 = v28;\n              memcpy((void *)v39, v26, v27 + 1);\n            }\n            else\n            {\n              v40 = Size;\n              v41 = 15;\n              v39 = *(_OWORD *)v26;\n            }\n            isUnrequired = GJSmartTemplate::isUnrequired(v23, &v39, v24, v25);\n            v42 = &v46;\n            v46 = v57;\n            sub_14003F4F0((__int64)v47, (__int64)&v58);\n            sub_14003F4F0((__int64)v48, (__int64)&v61);\n            v49 = v64;\n            v50 = isUnrequired;\n            v51 = v66;\n            v52 = v67;\n            v53 = v68;\n            BrowseSmartTemplateLayer::addPrefabMenuItem(a1, &v46, v13++);\n            sub_14003D310((__int64)&v61);\n            sub_14003D310((__int64)&v58);\n          }\n          if ( v56 > 0xF )\n          {\n            v29 = Src[0];\n            if ( v56 + 1 >= 0x1000 )\n            {\n              v29 = *((void **)Src[0] - 1);\n              if ( (unsigned __int64)((char *)Src[0] - (char *)v29 - 8) > 0x1F )\n                invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n            }\n            j_j_free(v29);\n          }\n          if ( ++v16 >= cocos2d::CCArray::count(v15) )\n            break;\n          v14 = v38;\n        }\n      }\n      *(_OWORD *)Block = 0;\n      v44 = 0;\n      GJSmartTemplate::getTemplateState(*(_BYTE **)(a1 + 664), (__int64)Block);\n      v30 = 0;\n      v31 = Block[1];\n      v32 = Block[0];\n      if ( ((char *)Block[1] - (char *)Block[0]) / 88 )\n      {\n        v33 = 0;\n        do\n        {\n          if ( !*(_DWORD *)&v32[v33 + 72] && !v32[v33 + 76] )\n          {\n            v42 = &v46;\n            v46 = *(_QWORD *)&v32[v33];\n            sub_14003F4F0((__int64)v47, (__int64)&v32[v33 + 8]);\n            sub_14003F4F0((__int64)v48, (__int64)&v32[v33 + 40]);\n            v49 = *(_DWORD *)&v32[v33 + 72];\n            v50 = v32[v33 + 76];\n            v51 = *(_DWORD *)&v32[v33 + 80];\n            v52 = *(_WORD *)&v32[v33 + 84];\n            v53 = v32[v33 + 86];\n            BrowseSmartTemplateLayer::addPrefabMenuItem(a1, &v46, v13++);\n            v31 = Block[1];\n            v32 = Block[0];\n          }\n          ++v30;\n          v33 += 88;\n        }\n        while ( v30 < (unsigned __int64)((v31 - v32) / 88) );\n      }\n      BrowseSmartTemplateLayer::goToPage(a1, 0);\n      v34 = (char *)Block[0];\n      if ( Block[0] )\n      {\n        v35 = (char *)Block[1];\n        if ( Block[0] != Block[1] )\n        {\n          v36 = (char *)Block[0] + 8;\n          do\n          {\n            sub_14003D310((__int64)(v36 + 32));\n            sub_14003D310((__int64)v36);\n            v36 += 88;\n          }\n          while ( v36 - 8 != v35 );\n          v34 = (char *)Block[0];\n        }\n        v37 = v34;\n        if ( (unsigned __int64)(88 * ((v44 - (__int64)v34) / 88)) >= 0x1000 )\n        {\n          v34 = *((char **)v34 - 1);\n          if ( (unsigned __int64)(v37 - v34 - 8) > 0x1F )\n            invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n        }\n        j_j_free(v34);\n      }\n    }\n    return 1;\n  }\n  return result;\n}", "assembly": "; \n; BrowseSmartTemplateLayer::init from 0x1405ef850 to 0x1405eff16 (1734 bytes)\n; \n; 3 xrefs:\n; > SetupSmartTemplateLayer::onClick @ 0x1405ef107\n; > BrowseSmartKeyLayer::onBack @ 0x1405f2203\n; > <???> @ 0x14092f198\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:35:05 +0000\n; \nmov     [rsp-8+arg_10], rbx                                            ; +0x0, 0x1405ef850\npush    rbp                                                            ; +0x5, 0x1405ef855\npush    rsi                                                            ; +0x6, 0x1405ef856\npush    rdi                                                            ; +0x7, 0x1405ef857\npush    r12                                                            ; +0x8, 0x1405ef858\npush    r13                                                            ; +0xa, 0x1405ef85a\npush    r14                                                            ; +0xc, 0x1405ef85c\npush    r15                                                            ; +0xe, 0x1405ef85e\nlea     rbp, [rsp-70h]                                                 ; +0x10, 0x1405ef860\nsub     rsp, 170h                                                      ; +0x15, 0x1405ef865\nmov     rax, cs:__security_cookie                                      ; +0x1c, 0x1405ef86c\nxor     rax, rsp                                                       ; +0x23, 0x1405ef873\nmov     [rbp+0A0h+var_40], rax                                         ; +0x26, 0x1405ef876\nmov     r14, rdx                                                       ; +0x2a, 0x1405ef87a\nmov     r13, rcx                                                       ; +0x2d, 0x1405ef87d\nmov     edx, 96h                                                       ; +0x30, 0x1405ef880\ncall    FLAlertLayer__init_1                                           ; +0x35, 0x1405ef885\ntest    al, al                                                         ; +0x3a, 0x1405ef88a\njz      loc_1405EFEE9                                                  ; +0x3c, 0x1405ef88c\nmov     rcx, r13                                                       ; +0x42, 0x1405ef892\ncall    BrowseSmartTemplateLayer__baseSetup                            ; +0x45, 0x1405ef895\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x4a, 0x1405ef89a\nmov     rcx, rax                                                       ; +0x50, 0x1405ef8a0\nlea     rdx, [rsp+1A0h+var_128]                                        ; +0x53, 0x1405ef8a3\ncall    cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x58, 0x1405ef8a8\ntest    r14, r14                                                       ; +0x5e, 0x1405ef8ae\njz      short loc_1405EF8C3                                            ; +0x61, 0x1405ef8b1\nmov     [r13+298h], r14                                                ; +0x63, 0x1405ef8b3\nmov     rcx, r14                                                       ; +0x6a, 0x1405ef8ba\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x6d, 0x1405ef8bd\nlea     rax, [rsp+1A0h+var_168]                                        ; +0x73, 0x1405ef8c3\nmov     [rsp+1A0h+var_170], rax                                        ; +0x78, 0x1405ef8c8\nxorps   xmm0, xmm0                                                     ; +0x7d, 0x1405ef8cd\nmovups  [rsp+1A0h+var_168], xmm0                                       ; +0x80, 0x1405ef8d0\nmov     [rsp+1A0h+var_158], 0                                          ; +0x85, 0x1405ef8d5\nmov     [rsp+1A0h+var_150], 0                                          ; +0x8e, 0x1405ef8de\nmov     ecx, 100h                                                      ; +0x97, 0x1405ef8e7\ncall    sub_14003D460                                                  ; +0x9c, 0x1405ef8ec\nmov     r8, rax                                                        ; +0xa1, 0x1405ef8f1\nmov     qword ptr [rsp+1A0h+var_168], rax                              ; +0xa4, 0x1405ef8f4\nmov     [rsp+1A0h+var_158], 0F3h                                       ; +0xa9, 0x1405ef8f9\nmov     [rsp+1A0h+var_150], 0FFh                                       ; +0xb2, 0x1405ef902\nlea     rcx, aShowsTheCgAuto; \"Shows the <cg>auto-build designs</c> in\"... ; +0xbb, 0x1405ef90b\nmovups  xmm0, xmmword ptr [rcx]                                        ; +0xc2, 0x1405ef912\nmovups  xmmword ptr [rax], xmm0                                        ; +0xc5, 0x1405ef915\nmovups  xmm1, xmmword ptr [rcx+10h]                                    ; +0xc8, 0x1405ef918\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0xcc, 0x1405ef91c\nmovups  xmm0, xmmword ptr [rcx+20h]                                    ; +0xd0, 0x1405ef920\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0xd4, 0x1405ef924\nmovups  xmm1, xmmword ptr [rcx+30h]                                    ; +0xd8, 0x1405ef928\nmovups  xmmword ptr [rax+30h], xmm1                                    ; +0xdc, 0x1405ef92c\nmovups  xmm0, xmmword ptr [rcx+40h]                                    ; +0xe0, 0x1405ef930\nmovups  xmmword ptr [rax+40h], xmm0                                    ; +0xe4, 0x1405ef934\nmovups  xmm1, xmmword ptr [rcx+50h]                                    ; +0xe8, 0x1405ef938\nmovups  xmmword ptr [rax+50h], xmm1                                    ; +0xec, 0x1405ef93c\nmovups  xmm0, xmmword ptr [rcx+60h]                                    ; +0xf0, 0x1405ef940\nmovups  xmmword ptr [rax+60h], xmm0                                    ; +0xf4, 0x1405ef944\nlea     rdx, [rax+80h]                                                 ; +0xf8, 0x1405ef948\nmovups  xmm0, xmmword ptr [rcx+70h]                                    ; +0xff, 0x1405ef94f\nmovups  xmmword ptr [rdx-10h], xmm0                                    ; +0x103, 0x1405ef953\nsub     rcx, 0FFFFFFFFFFFFFF80h                                        ; +0x107, 0x1405ef957\nmovups  xmm1, xmmword ptr [rcx]                                        ; +0x10b, 0x1405ef95b\nmovups  xmmword ptr [rdx], xmm1                                        ; +0x10e, 0x1405ef95e\nmovups  xmm0, xmmword ptr [rcx+10h]                                    ; +0x111, 0x1405ef961\nmovups  xmmword ptr [rdx+10h], xmm0                                    ; +0x115, 0x1405ef965\nmovups  xmm1, xmmword ptr [rcx+20h]                                    ; +0x119, 0x1405ef969\nmovups  xmmword ptr [rdx+20h], xmm1                                    ; +0x11d, 0x1405ef96d\nmovups  xmm0, xmmword ptr [rcx+30h]                                    ; +0x121, 0x1405ef971\nmovups  xmmword ptr [rdx+30h], xmm0                                    ; +0x125, 0x1405ef975\nmovups  xmm1, xmmword ptr [rcx+40h]                                    ; +0x129, 0x1405ef979\nmovups  xmmword ptr [rdx+40h], xmm1                                    ; +0x12d, 0x1405ef97d\nmovups  xmm0, xmmword ptr [rcx+50h]                                    ; +0x131, 0x1405ef981\nmovups  xmmword ptr [rdx+50h], xmm0                                    ; +0x135, 0x1405ef985\nmovups  xmm1, xmmword ptr [rcx+60h]                                    ; +0x139, 0x1405ef989\nmovups  xmmword ptr [rdx+60h], xmm1                                    ; +0x13d, 0x1405ef98d\nmovzx   eax, word ptr [rcx+70h]                                        ; +0x141, 0x1405ef991\nmov     [rdx+70h], ax                                                  ; +0x145, 0x1405ef995\nmovzx   eax, byte ptr [rcx+72h]                                        ; +0x149, 0x1405ef999\nmov     [rdx+72h], al                                                  ; +0x14d, 0x1405ef99d\nmov     byte ptr [r8+0F3h], 0                                          ; +0x150, 0x1405ef9a0\nxorps   xmm0, xmm0                                                     ; +0x158, 0x1405ef9a8\nmovups  xmmword ptr [rbp+0A0h+Src], xmm0                               ; +0x15b, 0x1405ef9ab\nmov     [rbp+0A0h+Size], 4                                             ; +0x15f, 0x1405ef9af\nmov     [rbp+0A0h+var_B0], 0Fh                                         ; +0x167, 0x1405ef9b7\nmov     dword ptr [rbp+0A0h+Src], 706C6548h                            ; +0x16f, 0x1405ef9bf\nmov     byte ptr [rbp+0A0h+Src+4], 0                                   ; +0x176, 0x1405ef9c6\nmovss   xmm2, cs:flt_140835080                                         ; +0x17a, 0x1405ef9ca\nlea     rdx, [rsp+1A0h+var_168]                                        ; +0x182, 0x1405ef9d2\nlea     rcx, [rbp+0A0h+Src]                                            ; +0x187, 0x1405ef9d7\ncall    InfoAlertButton__create                                        ; +0x18b, 0x1405ef9db\nmov     rsi, rax                                                       ; +0x190, 0x1405ef9e0\nmov     r9, [r13+228h]                                                 ; +0x193, 0x1405ef9e3\nmov     rcx, [r9]                                                      ; +0x19a, 0x1405ef9ea\nmov     r8, [rcx+1D0h]                                                 ; +0x19d, 0x1405ef9ed\nmov     rdx, rax                                                       ; +0x1a4, 0x1405ef9f4\nmov     rcx, r9                                                        ; +0x1a7, 0x1405ef9f7\ncall    r8                                                             ; +0x1aa, 0x1405ef9fa\nmov     rdi, [rsi]                                                     ; +0x1ad, 0x1405ef9fd\nmov     rbx, [r13+228h]                                                ; +0x1b0, 0x1405efa00\nmovss   xmm2, [rsp+1A0h+var_124]                                       ; +0x1b7, 0x1405efa07\nmulss   xmm2, cs:dword_140834F20                                       ; +0x1bd, 0x1405efa0d\naddss   xmm2, cs:dword_14083583C                                       ; +0x1c5, 0x1405efa15\nsubss   xmm2, cs:dword_140835598                                       ; +0x1cd, 0x1405efa1d\nmovss   xmm1, [rsp+1A0h+var_128]                                       ; +0x1d5, 0x1405efa25\nmulss   xmm1, cs:dword_140834F20                                       ; +0x1db, 0x1405efa2b\naddss   xmm1, cs:dword_14083592C                                       ; +0x1e3, 0x1405efa33\nsubss   xmm1, cs:dword_140835598                                       ; +0x1eb, 0x1405efa3b\nlea     rcx, [rsp+1A0h+var_170]                                        ; +0x1f3, 0x1405efa43\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x1f8, 0x1405efa48\nmov     r8, rax                                                        ; +0x1fe, 0x1405efa4e\nlea     rdx, [rsp+1A0h+var_148]                                        ; +0x201, 0x1405efa51\nmov     rcx, rbx                                                       ; +0x206, 0x1405efa56\ncall    cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x209, 0x1405efa59\nmov     rdx, rax                                                       ; +0x20f, 0x1405efa5f\nmov     rcx, rsi                                                       ; +0x212, 0x1405efa62\ncall    qword ptr [rdi+0B8h]                                           ; +0x215, 0x1405efa65\ncmp     qword ptr [r13+298h], 0                                        ; +0x21b, 0x1405efa6b\njz      loc_1405EFEE7                                                  ; +0x223, 0x1405efa73\nxor     edi, edi                                                       ; +0x229, 0x1405efa79\nmov     esi, edi                                                       ; +0x22b, 0x1405efa7b\nmov     rbx, [r14+38h]                                                 ; +0x22d, 0x1405efa7d\nmov     [rsp+1A0h+var_170], rbx                                        ; +0x231, 0x1405efa81\nmov     rcx, rbx                                                       ; +0x236, 0x1405efa86\ncall    cs:?allKeys@CCDictionary@cocos2d@@QEAAPEAVCCArray@2@XZ; cocos2d::CCDictionary::allKeys(void) ; +0x239, 0x1405efa89\nmov     r12, rax                                                       ; +0x23f, 0x1405efa8f\nmov     r15d, edi                                                      ; +0x242, 0x1405efa92\nmov     rcx, rax                                                       ; +0x245, 0x1405efa95\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x248, 0x1405efa98\ntest    eax, eax                                                       ; +0x24e, 0x1405efa9e\njz      loc_1405EFD26                                                  ; +0x250, 0x1405efaa0\nnop     word ptr [rax+rax+00000000h]                                   ; +0x256, 0x1405efaa6\nmov     edx, r15d                                                      ; +0x260, 0x1405efab0\nmov     rcx, r12                                                       ; +0x263, 0x1405efab3\ncall    cs:?stringAtIndex@CCArray@cocos2d@@QEAAPEAVCCString@2@I@Z; cocos2d::CCArray::stringAtIndex(uint) ; +0x266, 0x1405efab6\nmov     rcx, rax                                                       ; +0x26c, 0x1405efabc\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x26f, 0x1405efabf\nxorps   xmm0, xmm0                                                     ; +0x275, 0x1405efac5\nmovups  xmmword ptr [rbp+0A0h+Src], xmm0                               ; +0x278, 0x1405efac8\nmov     [rbp+0A0h+Size], rdi                                           ; +0x27c, 0x1405efacc\nmov     [rbp+0A0h+var_B0], rdi                                         ; +0x280, 0x1405efad0\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x284, 0x1405efad4\nnop     dword ptr [rax+rax+00h]                                        ; +0x28b, 0x1405efadb\ninc     r8                                                             ; +0x290, 0x1405efae0\ncmp     byte ptr [rax+r8], 0                                           ; +0x293, 0x1405efae3\njnz     short loc_1405EFAE0                                            ; +0x298, 0x1405efae8\nmov     rdx, rax                                                       ; +0x29a, 0x1405efaea\nlea     rcx, [rbp+0A0h+Src]                                            ; +0x29d, 0x1405efaed\ncall    sub_14003D230                                                  ; +0x2a1, 0x1405efaf1\nnop                                                                    ; +0x2a6, 0x1405efaf6\nlea     rdx, [rbp+0A0h+Src]                                            ; +0x2a7, 0x1405efaf7\nmov     rcx, rbx                                                       ; +0x2ab, 0x1405efafb\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::objectForKey(std::string const &) ; +0x2ae, 0x1405efafe\nmov     rbx, rax                                                       ; +0x2b4, 0x1405efb04\nmov     rcx, rax                                                       ; +0x2b7, 0x1405efb07\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x2ba, 0x1405efb0a\ntest    eax, eax                                                       ; +0x2c0, 0x1405efb10\njz      loc_1405EFCBE                                                  ; +0x2c2, 0x1405efb12\nmov     [rbp+0A0h+var_A0], rdi                                         ; +0x2c8, 0x1405efb18\nxorps   xmm0, xmm0                                                     ; +0x2cc, 0x1405efb1c\nmovups  [rbp+0A0h+var_98], xmm0                                        ; +0x2cf, 0x1405efb1f\nmov     [rbp+0A0h+var_88], rdi                                         ; +0x2d3, 0x1405efb23\nmov     [rbp+0A0h+var_80], 0Fh                                         ; +0x2d7, 0x1405efb27\nmov     byte ptr [rbp+0A0h+var_98], 0                                  ; +0x2df, 0x1405efb2f\nmovups  [rbp+0A0h+var_78], xmm0                                        ; +0x2e3, 0x1405efb33\nmov     [rbp+0A0h+var_68], rdi                                         ; +0x2e7, 0x1405efb37\nmov     [rbp+0A0h+var_60], 0Fh                                         ; +0x2eb, 0x1405efb3b\nmov     byte ptr [rbp+0A0h+var_78], 0                                  ; +0x2f3, 0x1405efb43\nmov     [rbp+0A0h+var_58], edi                                         ; +0x2f7, 0x1405efb47\nmov     [rbp+0A0h+var_54], 0                                           ; +0x2fa, 0x1405efb4a\nmov     [rbp+0A0h+var_50], edi                                         ; +0x2fe, 0x1405efb4e\nmov     [rbp+0A0h+var_4C], 0                                           ; +0x301, 0x1405efb51\nmov     [rbp+0A0h+var_4A], 0                                           ; +0x307, 0x1405efb57\nlea     rdx, [rbp+0A0h+Src]                                            ; +0x30b, 0x1405efb5b\ncmp     [rbp+0A0h+var_B0], 0Fh                                         ; +0x30f, 0x1405efb5f\ncmova   rdx, [rbp+0A0h+Src]; Src                                       ; +0x314, 0x1405efb64\nmov     r8, [rbp+0A0h+Size]; Size                                      ; +0x319, 0x1405efb69\nlea     rcx, [rbp+0A0h+var_98]; void *                                 ; +0x31d, 0x1405efb6d\ncall    sub_1400405A0                                                  ; +0x321, 0x1405efb71\nlea     rdx, [rbp+0A0h+Src]                                            ; +0x326, 0x1405efb76\ncmp     [rbp+0A0h+var_B0], 0Fh                                         ; +0x32a, 0x1405efb7a\ncmova   rdx, [rbp+0A0h+Src]; Src                                       ; +0x32f, 0x1405efb7f\nmov     r8, [rbp+0A0h+Size]; Size                                      ; +0x334, 0x1405efb84\nlea     rcx, [rbp+0A0h+var_78]; void *                                 ; +0x338, 0x1405efb88\ncall    sub_1400405A0                                                  ; +0x33c, 0x1405efb8c\nmov     rcx, rbx                                                       ; +0x341, 0x1405efb91\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x344, 0x1405efb94\nmov     [rbp+0A0h+var_58], eax                                         ; +0x34a, 0x1405efb9a\nxorps   xmm0, xmm0                                                     ; +0x34d, 0x1405efb9d\nmovups  [rsp+1A0h+var_168], xmm0                                       ; +0x350, 0x1405efba0\nmov     [rsp+1A0h+var_158], rdi                                        ; +0x355, 0x1405efba5\nmov     [rsp+1A0h+var_150], rdi                                        ; +0x35a, 0x1405efbaa\nlea     r14, [rbp+0A0h+Src]                                            ; +0x35f, 0x1405efbaf\ncmp     [rbp+0A0h+var_B0], 0Fh                                         ; +0x363, 0x1405efbb3\ncmova   r14, [rbp+0A0h+Src]                                            ; +0x368, 0x1405efbb8\nmov     rdi, [rbp+0A0h+Size]                                           ; +0x36d, 0x1405efbbd\nmov     rax, 7FFFFFFFFFFFFFFFh                                         ; +0x371, 0x1405efbc1\ncmp     rdi, rax                                                       ; +0x37b, 0x1405efbcb\nja      loc_1405EFF10                                                  ; +0x37e, 0x1405efbce\ncmp     rdi, 0Fh                                                       ; +0x384, 0x1405efbd4\nja      short loc_1405EFBF3                                            ; +0x388, 0x1405efbd8\nmov     [rsp+1A0h+var_158], rdi                                        ; +0x38a, 0x1405efbda\nmov     [rsp+1A0h+var_150], 0Fh                                        ; +0x38f, 0x1405efbdf\nmovups  xmm0, xmmword ptr [r14]                                        ; +0x398, 0x1405efbe8\nmovups  [rsp+1A0h+var_168], xmm0                                       ; +0x39c, 0x1405efbec\njmp     short loc_1405EFC38                                            ; +0x3a1, 0x1405efbf1\nmov     rbx, rdi                                                       ; +0x3a3, 0x1405efbf3\nor      rbx, 0Fh                                                       ; +0x3a6, 0x1405efbf6\ncmp     rbx, rax                                                       ; +0x3aa, 0x1405efbfa\njbe     short loc_1405EFC04                                            ; +0x3ad, 0x1405efbfd\nmov     rbx, rax                                                       ; +0x3af, 0x1405efbff\njmp     short loc_1405EFC11                                            ; +0x3b2, 0x1405efc02\ncmp     rbx, 16h                                                       ; +0x3b4, 0x1405efc04\nmov     eax, 16h                                                       ; +0x3b8, 0x1405efc08\ncmovb   rbx, rax                                                       ; +0x3bd, 0x1405efc0d\nlea     rcx, [rbx+1]                                                   ; +0x3c1, 0x1405efc11\ncall    sub_14003D460                                                  ; +0x3c5, 0x1405efc15\nmov     qword ptr [rsp+1A0h+var_168], rax                              ; +0x3ca, 0x1405efc1a\nmov     [rsp+1A0h+var_158], rdi                                        ; +0x3cf, 0x1405efc1f\nmov     [rsp+1A0h+var_150], rbx                                        ; +0x3d4, 0x1405efc24\nlea     r8, [rdi+1]; Size                                              ; +0x3d9, 0x1405efc29\nmov     rdx, r14; Src                                                  ; +0x3dd, 0x1405efc2d\nmov     rcx, rax; void *                                               ; +0x3e0, 0x1405efc30\ncall    memcpy                                                         ; +0x3e3, 0x1405efc33\nlea     rdx, [rsp+1A0h+var_168]                                        ; +0x3e8, 0x1405efc38\ncall    GJSmartTemplate__isUnrequired                                  ; +0x3ed, 0x1405efc3d\nmov     [rbp+0A0h+var_54], al                                          ; +0x3f2, 0x1405efc42\nlea     rax, [rbp+0A0h+var_120]                                        ; +0x3f5, 0x1405efc45\nmov     [rsp+1A0h+var_148], rax                                        ; +0x3f9, 0x1405efc49\nmov     rax, [rbp+0A0h+var_A0]                                         ; +0x3fe, 0x1405efc4e\nmov     [rbp+0A0h+var_120], rax                                        ; +0x402, 0x1405efc52\nlea     rdx, [rbp+0A0h+var_98]                                         ; +0x406, 0x1405efc56\nlea     rcx, [rbp+0A0h+var_118]                                        ; +0x40a, 0x1405efc5a\ncall    sub_14003F4F0                                                  ; +0x40e, 0x1405efc5e\nnop                                                                    ; +0x413, 0x1405efc63\nlea     rdx, [rbp+0A0h+var_78]                                         ; +0x414, 0x1405efc64\nlea     rcx, [rbp+0A0h+var_F8]                                         ; +0x418, 0x1405efc68\ncall    sub_14003F4F0                                                  ; +0x41c, 0x1405efc6c\nmov     eax, [rbp+0A0h+var_58]                                         ; +0x421, 0x1405efc71\nmov     [rbp+0A0h+var_D8], eax                                         ; +0x424, 0x1405efc74\nmovzx   eax, [rbp+0A0h+var_54]                                         ; +0x427, 0x1405efc77\nmov     [rbp+0A0h+var_D4], al                                          ; +0x42b, 0x1405efc7b\nmov     eax, [rbp+0A0h+var_50]                                         ; +0x42e, 0x1405efc7e\nmov     [rbp+0A0h+var_D0], eax                                         ; +0x431, 0x1405efc81\nmovzx   eax, byte ptr [rbp+0A0h+var_4C]                                ; +0x434, 0x1405efc84\nmov     byte ptr [rbp+0A0h+var_CC], al                                 ; +0x438, 0x1405efc88\nmovzx   eax, byte ptr [rbp+0A0h+var_4C+1]                              ; +0x43b, 0x1405efc8b\nmov     byte ptr [rbp+0A0h+var_CC+1], al                               ; +0x43f, 0x1405efc8f\nmovzx   eax, [rbp+0A0h+var_4A]                                         ; +0x442, 0x1405efc92\nmov     [rbp+0A0h+var_CA], al                                          ; +0x446, 0x1405efc96\nmov     r8d, esi                                                       ; +0x449, 0x1405efc99\nlea     rdx, [rbp+0A0h+var_120]                                        ; +0x44c, 0x1405efc9c\nmov     rcx, r13                                                       ; +0x450, 0x1405efca0\ncall    BrowseSmartTemplateLayer__addPrefabMenuItem                    ; +0x453, 0x1405efca3\ninc     esi                                                            ; +0x458, 0x1405efca8\nlea     rcx, [rbp+0A0h+var_78]                                         ; +0x45a, 0x1405efcaa\ncall    sub_14003D310                                                  ; +0x45e, 0x1405efcae\nlea     rcx, [rbp+0A0h+var_98]                                         ; +0x463, 0x1405efcb3\ncall    sub_14003D310                                                  ; +0x467, 0x1405efcb7\nxor     edi, edi                                                       ; +0x46c, 0x1405efcbc\nmov     rdx, [rbp+0A0h+var_B0]                                         ; +0x46e, 0x1405efcbe\ncmp     rdx, 0Fh                                                       ; +0x472, 0x1405efcc2\njbe     short loc_1405EFCF5                                            ; +0x476, 0x1405efcc6\ninc     rdx                                                            ; +0x478, 0x1405efcc8\nmov     rcx, [rbp+0A0h+Src]                                            ; +0x47b, 0x1405efccb\nmov     rax, rcx                                                       ; +0x47f, 0x1405efccf\ncmp     rdx, 1000h                                                     ; +0x482, 0x1405efcd2\njb      short loc_1405EFCF0                                            ; +0x489, 0x1405efcd9\nadd     rdx, 27h ; '''                                                 ; +0x48b, 0x1405efcdb\nmov     rcx, [rcx-8]; Block                                            ; +0x48f, 0x1405efcdf\nsub     rax, rcx                                                       ; +0x493, 0x1405efce3\nsub     rax, 8                                                         ; +0x496, 0x1405efce6\ncmp     rax, 1Fh                                                       ; +0x49a, 0x1405efcea\nja      short loc_1405EFD10                                            ; +0x49e, 0x1405efcee\ncall    j_j_free                                                       ; +0x4a0, 0x1405efcf0\ninc     r15d                                                           ; +0x4a5, 0x1405efcf5\nmov     rcx, r12                                                       ; +0x4a8, 0x1405efcf8\ncall    cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x4ab, 0x1405efcfb\ncmp     r15d, eax                                                      ; +0x4b1, 0x1405efd01\njnb     short loc_1405EFD26                                            ; +0x4b4, 0x1405efd04\nmov     rbx, [rsp+1A0h+var_170]                                        ; +0x4b6, 0x1405efd06\njmp     loc_1405EFAB0                                                  ; +0x4bb, 0x1405efd0b\nmov     [rsp+1A0h+Reserved], rdi; Reserved                             ; +0x4c0, 0x1405efd10\nxor     r9d, r9d; LineNo                                               ; +0x4c5, 0x1405efd15\nxor     r8d, r8d; FileName                                             ; +0x4c8, 0x1405efd18\nxor     edx, edx; FunctionName                                         ; +0x4cb, 0x1405efd1b\nxor     ecx, ecx; Expression                                           ; +0x4cd, 0x1405efd1d\ncall    cs:_invoke_watson                                              ; +0x4cf, 0x1405efd1f\nalign 2                                                                ; +0x4d5, 0x1405efd25\nxorps   xmm0, xmm0                                                     ; +0x4d6, 0x1405efd26\nmovdqu  xmmword ptr [rsp+1A0h+Block], xmm0                             ; +0x4d9, 0x1405efd29\nmov     [rsp+1A0h+var_130], rdi                                        ; +0x4df, 0x1405efd2f\nlea     rdx, [rsp+1A0h+Block]                                          ; +0x4e4, 0x1405efd34\nmov     rcx, [r13+298h]                                                ; +0x4e9, 0x1405efd39\ncall    GJSmartTemplate__getTemplateState                              ; +0x4f0, 0x1405efd40\nmov     r14d, edi                                                      ; +0x4f5, 0x1405efd45\nmov     r8, [rsp+1A0h+Block+8]                                         ; +0x4f8, 0x1405efd48\nmov     rcx, r8                                                        ; +0x4fd, 0x1405efd4d\nmov     rdi, [rsp+1A0h+Block]                                          ; +0x500, 0x1405efd50\nsub     rcx, rdi                                                       ; +0x505, 0x1405efd55\nmov     r15, 2E8BA2E8BA2E8BA3h                                         ; +0x508, 0x1405efd58\nmov     rax, r15                                                       ; +0x512, 0x1405efd62\nimul    rcx                                                            ; +0x515, 0x1405efd65\nsar     rdx, 4                                                         ; +0x518, 0x1405efd68\nmov     rax, rdx                                                       ; +0x51c, 0x1405efd6c\nshr     rax, 3Fh                                                       ; +0x51f, 0x1405efd6f\nadd     rdx, rax                                                       ; +0x523, 0x1405efd73\njz      loc_1405EFE3A                                                  ; +0x526, 0x1405efd76\nxor     ebx, ebx                                                       ; +0x52c, 0x1405efd7c\nxchg    ax, ax                                                         ; +0x52e, 0x1405efd7e\ncmp     dword ptr [rbx+rdi+48h], 0                                     ; +0x530, 0x1405efd80\njnz     loc_1405EFE0D                                                  ; +0x535, 0x1405efd85\ncmp     byte ptr [rbx+rdi+4Ch], 0                                      ; +0x53b, 0x1405efd8b\njnz     short loc_1405EFE0D                                            ; +0x540, 0x1405efd90\nlea     rax, [rbp+0A0h+var_120]                                        ; +0x542, 0x1405efd92\nmov     [rsp+1A0h+var_148], rax                                        ; +0x546, 0x1405efd96\nmov     rax, [rbx+rdi]                                                 ; +0x54b, 0x1405efd9b\nmov     [rbp+0A0h+var_120], rax                                        ; +0x54f, 0x1405efd9f\nlea     rdx, [rdi+8]                                                   ; +0x553, 0x1405efda3\nadd     rdx, rbx                                                       ; +0x557, 0x1405efda7\nlea     rcx, [rbp+0A0h+var_118]                                        ; +0x55a, 0x1405efdaa\ncall    sub_14003F4F0                                                  ; +0x55e, 0x1405efdae\nnop                                                                    ; +0x563, 0x1405efdb3\nlea     rdx, [rdi+28h]                                                 ; +0x564, 0x1405efdb4\nadd     rdx, rbx                                                       ; +0x568, 0x1405efdb8\nlea     rcx, [rbp+0A0h+var_F8]                                         ; +0x56b, 0x1405efdbb\ncall    sub_14003F4F0                                                  ; +0x56f, 0x1405efdbf\nmov     eax, [rbx+rdi+48h]                                             ; +0x574, 0x1405efdc4\nmov     [rbp+0A0h+var_D8], eax                                         ; +0x578, 0x1405efdc8\nmovzx   eax, byte ptr [rbx+rdi+4Ch]                                    ; +0x57b, 0x1405efdcb\nmov     [rbp+0A0h+var_D4], al                                          ; +0x580, 0x1405efdd0\nmov     eax, [rbx+rdi+50h]                                             ; +0x583, 0x1405efdd3\nmov     [rbp+0A0h+var_D0], eax                                         ; +0x587, 0x1405efdd7\nmovzx   eax, byte ptr [rbx+rdi+54h]                                    ; +0x58a, 0x1405efdda\nmov     byte ptr [rbp+0A0h+var_CC], al                                 ; +0x58f, 0x1405efddf\nmovzx   eax, byte ptr [rbx+rdi+55h]                                    ; +0x592, 0x1405efde2\nmov     byte ptr [rbp+0A0h+var_CC+1], al                               ; +0x597, 0x1405efde7\nmovzx   eax, byte ptr [rbx+rdi+56h]                                    ; +0x59a, 0x1405efdea\nmov     [rbp+0A0h+var_CA], al                                          ; +0x59f, 0x1405efdef\nmov     r8d, esi                                                       ; +0x5a2, 0x1405efdf2\nlea     rdx, [rbp+0A0h+var_120]                                        ; +0x5a5, 0x1405efdf5\nmov     rcx, r13                                                       ; +0x5a9, 0x1405efdf9\ncall    BrowseSmartTemplateLayer__addPrefabMenuItem                    ; +0x5ac, 0x1405efdfc\ninc     esi                                                            ; +0x5b1, 0x1405efe01\nmov     r8, [rsp+1A0h+Block+8]                                         ; +0x5b3, 0x1405efe03\nmov     rdi, [rsp+1A0h+Block]                                          ; +0x5b8, 0x1405efe08\ninc     r14d                                                           ; +0x5bd, 0x1405efe0d\nadd     rbx, 58h ; 'X'                                                 ; +0x5c0, 0x1405efe10\nmov     rcx, r8                                                        ; +0x5c4, 0x1405efe14\nsub     rcx, rdi                                                       ; +0x5c7, 0x1405efe17\nmov     rax, r15                                                       ; +0x5ca, 0x1405efe1a\nimul    rcx                                                            ; +0x5cd, 0x1405efe1d\nsar     rdx, 4                                                         ; +0x5d0, 0x1405efe20\nmov     rax, rdx                                                       ; +0x5d4, 0x1405efe24\nshr     rax, 3Fh                                                       ; +0x5d7, 0x1405efe27\nadd     rdx, rax                                                       ; +0x5db, 0x1405efe2b\nmovsxd  rax, r14d                                                      ; +0x5de, 0x1405efe2e\ncmp     rax, rdx                                                       ; +0x5e1, 0x1405efe31\njb      loc_1405EFD80                                                  ; +0x5e4, 0x1405efe34\nxor     edx, edx                                                       ; +0x5ea, 0x1405efe3a\nmov     rcx, r13                                                       ; +0x5ec, 0x1405efe3c\ncall    BrowseSmartTemplateLayer__goToPage                             ; +0x5ef, 0x1405efe3f\nnop                                                                    ; +0x5f4, 0x1405efe44\nmov     r8, [rsp+1A0h+Block]                                           ; +0x5f5, 0x1405efe45\ntest    r8, r8                                                         ; +0x5fa, 0x1405efe4a\njz      loc_1405EFEE7                                                  ; +0x5fd, 0x1405efe4d\nmov     rdi, [rsp+1A0h+Block+8]                                        ; +0x603, 0x1405efe53\ncmp     r8, rdi                                                        ; +0x608, 0x1405efe58\njz      short loc_1405EFE84                                            ; +0x60b, 0x1405efe5b\nlea     rbx, [r8+8]                                                    ; +0x60d, 0x1405efe5d\nlea     rcx, [rbx+20h]                                                 ; +0x611, 0x1405efe61\ncall    sub_14003D310                                                  ; +0x615, 0x1405efe65\nmov     rcx, rbx                                                       ; +0x61a, 0x1405efe6a\ncall    sub_14003D310                                                  ; +0x61d, 0x1405efe6d\nadd     rbx, 58h ; 'X'                                                 ; +0x622, 0x1405efe72\nlea     rcx, [rbx-8]                                                   ; +0x626, 0x1405efe76\ncmp     rcx, rdi                                                       ; +0x62a, 0x1405efe7a\njnz     short loc_1405EFE61                                            ; +0x62d, 0x1405efe7d\nmov     r8, [rsp+1A0h+Block]                                           ; +0x62f, 0x1405efe7f\nmov     rcx, [rsp+1A0h+var_130]                                        ; +0x634, 0x1405efe84\nsub     rcx, r8                                                        ; +0x639, 0x1405efe89\nmov     rax, r15                                                       ; +0x63c, 0x1405efe8c\nimul    rcx                                                            ; +0x63f, 0x1405efe8f\nsar     rdx, 4                                                         ; +0x642, 0x1405efe92\nmov     rax, rdx                                                       ; +0x646, 0x1405efe96\nshr     rax, 3Fh                                                       ; +0x649, 0x1405efe99\nadd     rdx, rax                                                       ; +0x64d, 0x1405efe9d\nimul    rdx, 58h ; 'X'                                                 ; +0x650, 0x1405efea0\nmov     rax, r8                                                        ; +0x654, 0x1405efea4\ncmp     rdx, 1000h                                                     ; +0x657, 0x1405efea7\njb      short loc_1405EFEDF                                            ; +0x65e, 0x1405efeae\nadd     rdx, 27h ; '''                                                 ; +0x660, 0x1405efeb0\nmov     r8, [r8-8]                                                     ; +0x664, 0x1405efeb4\nsub     rax, r8                                                        ; +0x668, 0x1405efeb8\nsub     rax, 8                                                         ; +0x66b, 0x1405efebb\ncmp     rax, 1Fh                                                       ; +0x66f, 0x1405efebf\njbe     short loc_1405EFEDF                                            ; +0x673, 0x1405efec3\nmov     [rsp+1A0h+Reserved], 0; Reserved                               ; +0x675, 0x1405efec5\nxor     r9d, r9d; LineNo                                               ; +0x67e, 0x1405efece\nxor     r8d, r8d; FileName                                             ; +0x681, 0x1405efed1\nxor     edx, edx; FunctionName                                         ; +0x684, 0x1405efed4\nxor     ecx, ecx; Expression                                           ; +0x686, 0x1405efed6\ncall    cs:_invoke_watson                                              ; +0x688, 0x1405efed8\ndb 0CCh                                                                ; +0x68e, 0x1405efede\nmov     rcx, r8; Block                                                 ; +0x68f, 0x1405efedf\ncall    j_j_free                                                       ; +0x692, 0x1405efee2\nmov     al, 1                                                          ; +0x697, 0x1405efee7\nmov     rcx, [rbp+0A0h+var_40]                                         ; +0x699, 0x1405efee9\nxor     rcx, rsp; StackCookie                                          ; +0x69d, 0x1405efeed\ncall    __security_check_cookie                                        ; +0x6a0, 0x1405efef0\nmov     rbx, [rsp+1A0h+arg_10]                                         ; +0x6a5, 0x1405efef5\nadd     rsp, 170h                                                      ; +0x6ad, 0x1405efefd\npop     r15                                                            ; +0x6b4, 0x1405eff04\npop     r14                                                            ; +0x6b6, 0x1405eff06\npop     r13                                                            ; +0x6b8, 0x1405eff08\npop     r12                                                            ; +0x6ba, 0x1405eff0a\npop     rdi                                                            ; +0x6bc, 0x1405eff0c\npop     rsi                                                            ; +0x6bd, 0x1405eff0d\npop     rbp                                                            ; +0x6be, 0x1405eff0e\nretn                                                                   ; +0x6bf, 0x1405eff0f\ncall    sub_140009D90                                                  ; +0x6c0, 0x1405eff10\nalign 2                                                                ; +0x6c5, 0x1405eff15", "xrefs": ["SetupSmartTemplateLayer::onClick @ 0x1405ef107", "BrowseSmartKeyLayer::onBack @ 0x1405f2203", "<???> @ 0x14092f198"], "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"}