{"type": "func", "start": 5372911200, "end": 5372912382, "name": "SetTargetIDLayer::init", "pseudocode": "// \n// SetTargetIDLayer::init from 0x140401e60 to 0x1404022fe (1182 bytes)\n// \n// 2 xrefs:\n// > SetTargetIDLayer::create @ 0x140401e06\n// > <???> @ 0x1406d88c4\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=5\nchar __fastcall SetTargetIDLayer::init(\n        SetupTriggerPopup *a1,\n        EffectGameObject *a2,\n        cocos2d::CCArray *a3,\n        __int64 a4,\n        _QWORD *a5,\n        __int64 a6,\n        __int64 a7,\n        int a8)\n{\n  __int64 v11; // rcx\n  cocos2d::CCDirector *v12; // rax\n  __int64 v13; // rax\n  char *v14; // rdi\n  __int64 v15; // rsi\n  __int64 v16; // r13\n  __int64 v17; // r14\n  double v18; // xmm0_8\n  _QWORD *v19; // rdx\n  size_t v20; // r8\n  char *v21; // rax\n  __int128 *v22; // [rsp+80h] [rbp-80h] BYREF\n  __int128 v23; // [rsp+88h] [rbp-78h] BYREF\n  __int64 v24; // [rsp+98h] [rbp-68h]\n  __int64 v25; // [rsp+A0h] [rbp-60h]\n  __int128 v26; // [rsp+A8h] [rbp-58h] BYREF\n  __int64 v27; // [rsp+B8h] [rbp-48h]\n  __int64 v28; // [rsp+C0h] [rbp-40h]\n  float v29; // [rsp+C8h] [rbp-38h]\n  _BYTE v30[8]; // [rsp+D0h] [rbp-30h] BYREF\n  __int64 v31; // [rsp+D8h] [rbp-28h]\n  __int128 *v32; // [rsp+E0h] [rbp-20h]\n  __int64 v33; // [rsp+F0h] [rbp-10h]\n  _QWORD *v34; // [rsp+F8h] [rbp-8h]\n  __int128 v35; // [rsp+100h] [rbp+0h]\n  __int64 v36; // [rsp+110h] [rbp+10h]\n  __int64 v37; // [rsp+118h] [rbp+18h]\n\n  v31 = a4;\n  v33 = a4;\n  v34 = a5;\n  if ( SetupTriggerPopup::init(a1, a2, a3, 300.0, 240.0, 1) )\n  {\n    LODWORD(a1[1].FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable) = a8;\n    HIDWORD(a1[1].FLAlertLayer::cocos2d::CCLayerColor::cocos2d::CCLayerRGBA::cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable) = 0;\n    a1[1].m_uID = 9999;\n    a1->determineStartValues(a1);\n    v12 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v11);\n    cocos2d::CCDirector::getWinSize(v12);\n    v13 = sub_14003BDB0((__int64)&v26, a4);\n    SetupTriggerPopup::addTitle(a1, v13);\n    v23 = 0;\n    v24 = 2;\n    v25 = 15;\n    strcpy((char *)&v23, \"OK\");\n    SetupTriggerPopup::addCloseButton(a1, &v23);\n    v35 = 0;\n    v36 = 0;\n    v37 = 15;\n    LOBYTE(v35) = 0;\n    if ( a8 == 3662 )\n    {\n      v14 = (char *)sub_14003AA10(0xD0u);\n      v15 = 202;\n      v36 = 202;\n      v16 = 207;\n      v37 = 207;\n      strcpy(\n        v14,\n        \"Ensures <cg>visibility</c> of every object in <cy>Group ID</c>. If one object in the group is visible, all objec\"\n        \"t will be visible even if offscreen.\\n\"\n        \"Processed at level load and cannot be disabled after.\");\n    }\n    else\n    {\n      v14 = (char *)sub_14003AA10(0x40u);\n      v15 = 54;\n      v36 = 54;\n      v16 = 63;\n      v37 = 63;\n      strcpy(v14, \"<cg>Stops</c> an Area trigger using <cy>Effect ID</c>.\");\n    }\n    *(_QWORD *)&v35 = v14;\n    v22 = &v23;\n    v23 = 0;\n    v24 = 0;\n    v17 = 0x7FFFFFFFFFFFFFFFLL;\n    v25 = 15;\n    if ( (v15 | 0xFuLL) <= 0x7FFFFFFFFFFFFFFFLL )\n    {\n      v17 = v15 | 0xF;\n      if ( (v15 | 0xFuLL) < 0x16 )\n        v17 = 22;\n    }\n    *(_QWORD *)&v23 = sub_14003AA10(v17 + 1);\n    v24 = v15;\n    v25 = v17;\n    memcpy((void *)v23, v14, v15 + 1);\n    v26 = 0;\n    v27 = 4;\n    v28 = 15;\n    strcpy((char *)&v26, \"Help\");\n    v18 = SetupTriggerPopup::addHelpButton(a1, &v26, &v23);\n    cocos2d::CCPoint::CCPoint(*(float *)&v18, v29 * 0.5);\n    v32 = &v26;\n    v19 = a5;\n    if ( a5[3] > 0xFu )\n      v19 = (_QWORD *)*a5;\n    v26 = 0;\n    v27 = 0;\n    v28 = 0;\n    v20 = -1;\n    do\n      ++v20;\n    while ( *((_BYTE *)v19 + v20) );\n    sub_14003A930(&v26, v19, v20);\n    cocos2d::CCPoint::CCPoint(0.0, 0.0);\n    cocos2d::CCPoint::operator+(v30, &v22);\n    SetupTriggerPopup::createValueControlAdvanced(\n      (_DWORD)a1,\n      51,\n      (unsigned int)&v26,\n      (unsigned int)&v22,\n      1065353216,\n      1,\n      2,\n      6,\n      1,\n      0,\n      1065353216,\n      0,\n      0,\n      0,\n      2,\n      0,\n      v22);\n    if ( a8 != 3662 )\n      SetupTriggerPopup::createMultiTriggerItemsDefault(a1);\n    a1->updateDefaultTriggerValues(a1);\n    a1->m_disableTextDelegate = 0;\n    v21 = v14;\n    if ( (unsigned __int64)(v16 + 1) >= 0x1000 )\n    {\n      v14 = *((char **)v14 - 1);\n      if ( (unsigned __int64)(v21 - v14 - 8) > 0x1F )\n        invalid_parameter_noinfo_noreturn();\n    }\n    j_j_free(v14);\n    sub_14003A830(v31);\n    sub_14003A830((__int64)a5);\n    return 1;\n  }\n  else\n  {\n    sub_14003A830(a4);\n    sub_14003A830((__int64)a5);\n    return 0;\n  }\n}", "assembly": "; \n; SetTargetIDLayer::init from 0x140401e60 to 0x1404022fe (1182 bytes)\n; \n; 2 xrefs:\n; > SetTargetIDLayer::create @ 0x140401e06\n; > <???> @ 0x1406d88c4\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, 0x140401e60\npush    rbp                                                            ; +0x3, 0x140401e63\npush    rbx                                                            ; +0x4, 0x140401e64\npush    rsi                                                            ; +0x5, 0x140401e65\npush    rdi                                                            ; +0x6, 0x140401e66\npush    r12                                                            ; +0x7, 0x140401e67\npush    r13                                                            ; +0x9, 0x140401e69\npush    r14                                                            ; +0xb, 0x140401e6b\npush    r15                                                            ; +0xd, 0x140401e6d\nlea     rbp, [rsp-58h]                                                 ; +0xf, 0x140401e6f\nsub     rsp, 158h                                                      ; +0x14, 0x140401e74\nmovaps  xmmword ptr [rax-58h], xmm6                                    ; +0x1b, 0x140401e7b\nmovaps  xmmword ptr [rax-68h], xmm7                                    ; +0x1f, 0x140401e7f\nmov     rax, cs:__security_cookie                                      ; +0x23, 0x140401e83\nxor     rax, rsp                                                       ; +0x2a, 0x140401e8a\nmov     [rbp+90h+var_70], rax                                          ; +0x2d, 0x140401e8d\nmov     rdi, r9                                                        ; +0x31, 0x140401e91\nmov     [rbp+90h+var_B8], r9                                           ; +0x34, 0x140401e94\nmov     rbx, rcx                                                       ; +0x38, 0x140401e98\nmov     [rbp+90h+var_A0], r9                                           ; +0x3b, 0x140401e9b\nmov     r15, [rbp+90h+arg_20]                                          ; +0x3f, 0x140401e9f\nmov     [rbp+90h+var_98], r15                                          ; +0x46, 0x140401ea6\nmov     [rsp+190h+var_168], 1                                          ; +0x4a, 0x140401eaa\nmovss   xmm0, cs:dword_140623408                                       ; +0x52, 0x140401eb2\nmovss   [rsp+190h+var_170], xmm0                                       ; +0x5a, 0x140401eba\nmovss   xmm3, cs:dword_14062343C                                       ; +0x60, 0x140401ec0\ncall    SetupTriggerPopup__init                                        ; +0x68, 0x140401ec8\ntest    al, al                                                         ; +0x6d, 0x140401ecd\njnz     short loc_140401EE9                                            ; +0x6f, 0x140401ecf\nmov     rcx, rdi                                                       ; +0x71, 0x140401ed1\ncall    sub_14003A830                                                  ; +0x74, 0x140401ed4\nnop                                                                    ; +0x79, 0x140401ed9\nmov     rcx, r15                                                       ; +0x7a, 0x140401eda\ncall    sub_14003A830                                                  ; +0x7d, 0x140401edd\nxor     al, al                                                         ; +0x82, 0x140401ee2\njmp     loc_1404022C8                                                  ; +0x84, 0x140401ee4\nmov     esi, [rbp+90h+arg_38]                                          ; +0x89, 0x140401ee9\nmov     [rbx+3A8h], esi                                                ; +0x8f, 0x140401eef\nxor     r14d, r14d                                                     ; +0x95, 0x140401ef5\nmov     [rbx+3ACh], r14d                                               ; +0x98, 0x140401ef8\nmov     dword ptr [rbx+3B0h], 270Fh                                    ; +0x9f, 0x140401eff\nmov     rax, [rbx]                                                     ; +0xa9, 0x140401f09\nmov     rcx, rbx                                                       ; +0xac, 0x140401f0c\ncall    qword ptr [rax+428h]                                           ; +0xaf, 0x140401f0f\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0xb5, 0x140401f15\nmov     rcx, rax                                                       ; +0xbb, 0x140401f1b\nlea     rdx, [rbp+90h+var_C8]                                          ; +0xbe, 0x140401f1e\ncall    cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0xc2, 0x140401f22\nmov     rdx, rdi                                                       ; +0xc8, 0x140401f28\nlea     rcx, [rbp+90h+var_E8]                                          ; +0xcb, 0x140401f2b\ncall    sub_14003BDB0                                                  ; +0xcf, 0x140401f2f\nmov     rdx, rax                                                       ; +0xd4, 0x140401f34\nmov     rcx, rbx                                                       ; +0xd7, 0x140401f37\ncall    SetupTriggerPopup__addTitle                                    ; +0xda, 0x140401f3a\nxorps   xmm0, xmm0                                                     ; +0xdf, 0x140401f3f\nmovups  [rbp+90h+var_108], xmm0                                        ; +0xe2, 0x140401f42\nmov     [rbp+90h+var_F8], 2                                            ; +0xe6, 0x140401f46\nmov     [rbp+90h+var_F0], 0Fh                                          ; +0xee, 0x140401f4e\nmov     eax, 4B4Fh                                                     ; +0xf6, 0x140401f56\nmov     word ptr [rbp+90h+var_108], ax                                 ; +0xfb, 0x140401f5b\nmov     byte ptr [rbp+90h+var_108+2], r14b                             ; +0xff, 0x140401f5f\nlea     rdx, [rbp+90h+var_108]                                         ; +0x103, 0x140401f63\nmov     rcx, rbx                                                       ; +0x107, 0x140401f67\ncall    SetupTriggerPopup__addCloseButton                              ; +0x10a, 0x140401f6a\nxorps   xmm0, xmm0                                                     ; +0x10f, 0x140401f6f\nmovups  [rbp+90h+var_90], xmm0                                         ; +0x112, 0x140401f72\nmov     [rbp+90h+var_80], r14                                          ; +0x116, 0x140401f76\nmov     [rbp+90h+var_78], 0Fh                                          ; +0x11a, 0x140401f7a\nmov     byte ptr [rbp+90h+var_90], r14b                                ; +0x122, 0x140401f82\ncmp     esi, 0E4Eh                                                     ; +0x126, 0x140401f86\njnz     loc_14040203C                                                  ; +0x12c, 0x140401f8c\nmov     ecx, 0D0h                                                      ; +0x132, 0x140401f92\ncall    sub_14003AA10                                                  ; +0x137, 0x140401f97\nmov     rdi, rax                                                       ; +0x13c, 0x140401f9c\nmov     esi, 0CAh                                                      ; +0x13f, 0x140401f9f\nmov     [rbp+90h+var_80], rsi                                          ; +0x144, 0x140401fa4\nmov     r13d, 0CFh                                                     ; +0x148, 0x140401fa8\nmov     [rbp+90h+var_78], r13                                          ; +0x14e, 0x140401fae\nlea     rcx, aEnsuresCgVisib; \"Ensures <cg>visibility</c> of every obj\"... ; +0x152, 0x140401fb2\nmovups  xmm0, xmmword ptr [rcx]                                        ; +0x159, 0x140401fb9\nmovups  xmmword ptr [rax], xmm0                                        ; +0x15c, 0x140401fbc\nmovups  xmm1, xmmword ptr [rcx+10h]                                    ; +0x15f, 0x140401fbf\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x163, 0x140401fc3\nmovups  xmm0, xmmword ptr [rcx+20h]                                    ; +0x167, 0x140401fc7\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x16b, 0x140401fcb\nmovups  xmm1, xmmword ptr [rcx+30h]                                    ; +0x16f, 0x140401fcf\nmovups  xmmword ptr [rax+30h], xmm1                                    ; +0x173, 0x140401fd3\nmovups  xmm0, xmmword ptr [rcx+40h]                                    ; +0x177, 0x140401fd7\nmovups  xmmword ptr [rax+40h], xmm0                                    ; +0x17b, 0x140401fdb\nmovups  xmm1, xmmword ptr [rcx+50h]                                    ; +0x17f, 0x140401fdf\nmovups  xmmword ptr [rax+50h], xmm1                                    ; +0x183, 0x140401fe3\nmovups  xmm0, xmmword ptr [rcx+60h]                                    ; +0x187, 0x140401fe7\nmovups  xmmword ptr [rax+60h], xmm0                                    ; +0x18b, 0x140401feb\nlea     rdx, [rax+80h]                                                 ; +0x18f, 0x140401fef\nmovups  xmm0, xmmword ptr [rcx+70h]                                    ; +0x196, 0x140401ff6\nmovups  xmmword ptr [rdx-10h], xmm0                                    ; +0x19a, 0x140401ffa\nlea     rcx, [rcx+80h]                                                 ; +0x19e, 0x140401ffe\nmovups  xmm1, xmmword ptr [rcx]                                        ; +0x1a5, 0x140402005\nmovups  xmmword ptr [rdx], xmm1                                        ; +0x1a8, 0x140402008\nmovups  xmm0, xmmword ptr [rcx+10h]                                    ; +0x1ab, 0x14040200b\nmovups  xmmword ptr [rdx+10h], xmm0                                    ; +0x1af, 0x14040200f\nmovups  xmm1, xmmword ptr [rcx+20h]                                    ; +0x1b3, 0x140402013\nmovups  xmmword ptr [rdx+20h], xmm1                                    ; +0x1b7, 0x140402017\nmovups  xmm0, xmmword ptr [rcx+30h]                                    ; +0x1bb, 0x14040201b\nmovups  xmmword ptr [rdx+30h], xmm0                                    ; +0x1bf, 0x14040201f\nmov     rax, [rcx+40h]                                                 ; +0x1c3, 0x140402023\nmov     [rdx+40h], rax                                                 ; +0x1c7, 0x140402027\nmovzx   eax, word ptr [rcx+48h]                                        ; +0x1cb, 0x14040202b\nmov     [rdx+48h], ax                                                  ; +0x1cf, 0x14040202f\nmov     [rdi+0CAh], r14b                                               ; +0x1d3, 0x140402033\njmp     short loc_140402094                                            ; +0x1da, 0x14040203a\nmov     ecx, 40h ; '@'                                                 ; +0x1dc, 0x14040203c\ncall    sub_14003AA10                                                  ; +0x1e1, 0x140402041\nmov     rdi, rax                                                       ; +0x1e6, 0x140402046\nmov     esi, 36h ; '6'                                                 ; +0x1e9, 0x140402049\nmov     [rbp+90h+var_80], rsi                                          ; +0x1ee, 0x14040204e\nmov     r13d, 3Fh ; '?'                                                ; +0x1f2, 0x140402052\nmov     [rbp+90h+var_78], r13                                          ; +0x1f8, 0x140402058\nmovups  xmm0, cs:xmmword_1405D7FE8                                     ; +0x1fc, 0x14040205c\nmovups  xmmword ptr [rax], xmm0                                        ; +0x203, 0x140402063\nmovups  xmm1, cs:xmmword_1405D7FF8                                     ; +0x206, 0x140402066\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x20d, 0x14040206d\nmovups  xmm0, cs:xmmword_1405D8008                                     ; +0x211, 0x140402071\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x218, 0x140402078\nmov     eax, cs:dword_1405D8018                                        ; +0x21c, 0x14040207c\nmov     [rdi+30h], eax                                                 ; +0x222, 0x140402082\nmovzx   eax, cs:word_1405D801C                                         ; +0x225, 0x140402085\nmov     [rdi+34h], ax                                                  ; +0x22c, 0x14040208c\nmov     byte ptr [rdi+36h], 0                                          ; +0x230, 0x140402090\nmov     qword ptr [rbp+90h+var_90], rdi                                ; +0x234, 0x140402094\nlea     rax, [rbp+90h+var_108]                                         ; +0x238, 0x140402098\nmov     [rbp+90h+var_110], rax                                         ; +0x23c, 0x14040209c\nxorps   xmm0, xmm0                                                     ; +0x240, 0x1404020a0\nmovups  [rbp+90h+var_108], xmm0                                        ; +0x243, 0x1404020a3\nmov     [rbp+90h+var_F8], r14                                          ; +0x247, 0x1404020a7\nmov     [rbp+90h+var_F0], r14                                          ; +0x24b, 0x1404020ab\nlea     r12, [rbp+90h+var_90]                                          ; +0x24f, 0x1404020af\ncmp     r13, 0Fh                                                       ; +0x253, 0x1404020b3\ncmova   r12, rdi                                                       ; +0x257, 0x1404020b7\nmov     r14, 7FFFFFFFFFFFFFFFh                                         ; +0x25b, 0x1404020bb\ncmp     rsi, r14                                                       ; +0x265, 0x1404020c5\nja      loc_1404022F8                                                  ; +0x268, 0x1404020c8\nmov     [rbp+90h+var_F0], 0Fh                                          ; +0x26e, 0x1404020ce\ncmp     rsi, 0Fh                                                       ; +0x276, 0x1404020d6\nja      short loc_1404020EB                                            ; +0x27a, 0x1404020da\nmov     [rbp+90h+var_F8], rsi                                          ; +0x27c, 0x1404020dc\nmovups  xmm0, xmmword ptr [r12]                                        ; +0x280, 0x1404020e0\nmovups  [rbp+90h+var_108], xmm0                                        ; +0x285, 0x1404020e5\njmp     short loc_14040212B                                            ; +0x289, 0x1404020e9\nmov     rax, rsi                                                       ; +0x28b, 0x1404020eb\nor      rax, 0Fh                                                       ; +0x28e, 0x1404020ee\ncmp     rax, r14                                                       ; +0x292, 0x1404020f2\nja      short loc_140402106                                            ; +0x295, 0x1404020f5\nmov     r14, rax                                                       ; +0x297, 0x1404020f7\nmov     ecx, 16h                                                       ; +0x29a, 0x1404020fa\ncmp     rax, rcx                                                       ; +0x29f, 0x1404020ff\ncmovb   r14, rcx                                                       ; +0x2a2, 0x140402102\nlea     rcx, [r14+1]                                                   ; +0x2a6, 0x140402106\ncall    sub_14003AA10                                                  ; +0x2aa, 0x14040210a\nmov     qword ptr [rbp+90h+var_108], rax                               ; +0x2af, 0x14040210f\nmov     [rbp+90h+var_F8], rsi                                          ; +0x2b3, 0x140402113\nmov     [rbp+90h+var_F0], r14                                          ; +0x2b7, 0x140402117\nlea     r8, [rsi+1]; Size                                              ; +0x2bb, 0x14040211b\nmov     rdx, r12; Src                                                  ; +0x2bf, 0x14040211f\nmov     rcx, rax; void *                                               ; +0x2c2, 0x140402122\ncall    memcpy                                                         ; +0x2c5, 0x140402125\nnop                                                                    ; +0x2ca, 0x14040212a\nxorps   xmm0, xmm0                                                     ; +0x2cb, 0x14040212b\nmovups  [rbp+90h+var_E8], xmm0                                         ; +0x2ce, 0x14040212e\nmov     [rbp+90h+var_D8], 4                                            ; +0x2d2, 0x140402132\nmov     [rbp+90h+var_D0], 0Fh                                          ; +0x2da, 0x14040213a\nmov     dword ptr [rbp+90h+var_E8], 706C6548h                          ; +0x2e2, 0x140402142\nmov     byte ptr [rbp+90h+var_E8+4], 0                                 ; +0x2e9, 0x140402149\nmovss   xmm7, cs:flt_140622C24                                         ; +0x2ed, 0x14040214d\nmovaps  xmm3, xmm7                                                     ; +0x2f5, 0x140402155\nlea     r8, [rbp+90h+var_108]                                          ; +0x2f8, 0x140402158\nlea     rdx, [rbp+90h+var_E8]                                          ; +0x2fc, 0x14040215c\nmov     rcx, rbx                                                       ; +0x300, 0x140402160\ncall    SetupTriggerPopup__addHelpButton                               ; +0x303, 0x140402163\nmovss   xmm2, [rbp+90h+var_C4]                                         ; +0x308, 0x140402168\nmulss   xmm2, cs:dword_140622B08                                       ; +0x30d, 0x14040216d\nmovss   xmm1, [rbp+90h+var_C8]                                         ; +0x315, 0x140402175\nmulss   xmm1, cs:dword_140622B08                                       ; +0x31a, 0x14040217a\nlea     rcx, [rbp+90h+var_C0]                                          ; +0x322, 0x140402182\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x326, 0x140402186\nlea     rax, [rbp+90h+var_E8]                                          ; +0x32c, 0x14040218c\nmov     [rbp+90h+var_B0], rax                                          ; +0x330, 0x140402190\nmov     rdx, r15                                                       ; +0x334, 0x140402194\ncmp     qword ptr [r15+18h], 0Fh                                       ; +0x337, 0x140402197\njbe     short loc_1404021A1                                            ; +0x33c, 0x14040219c\nmov     rdx, [r15]                                                     ; +0x33e, 0x14040219e\nxorps   xmm0, xmm0                                                     ; +0x341, 0x1404021a1\nmovups  [rbp+90h+var_E8], xmm0                                         ; +0x344, 0x1404021a4\nxor     esi, esi                                                       ; +0x348, 0x1404021a8\nmov     [rbp+90h+var_D8], rsi                                          ; +0x34a, 0x1404021aa\nmov     [rbp+90h+var_D0], rsi                                          ; +0x34e, 0x1404021ae\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x352, 0x1404021b2\nnop     dword ptr [rax+00000000h]                                      ; +0x359, 0x1404021b9\ninc     r8                                                             ; +0x360, 0x1404021c0\ncmp     [rdx+r8], sil                                                  ; +0x363, 0x1404021c3\njnz     short loc_1404021C0                                            ; +0x367, 0x1404021c7\nlea     rcx, [rbp+90h+var_E8]                                          ; +0x369, 0x1404021c9\ncall    sub_14003A930                                                  ; +0x36d, 0x1404021cd\nnop                                                                    ; +0x372, 0x1404021d2\nxorps   xmm6, xmm6                                                     ; +0x373, 0x1404021d3\nxorps   xmm2, xmm2                                                     ; +0x376, 0x1404021d6\nxorps   xmm1, xmm1                                                     ; +0x379, 0x1404021d9\nlea     rcx, [rbp+90h+var_A8]                                          ; +0x37c, 0x1404021dc\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x380, 0x1404021e0\nmov     r8, rax                                                        ; +0x386, 0x1404021e6\nlea     rdx, [rbp+90h+var_110]                                         ; +0x389, 0x1404021e9\nlea     rcx, [rbp+90h+var_C0]                                          ; +0x38d, 0x1404021ed\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x391, 0x1404021f1\nnop                                                                    ; +0x397, 0x1404021f7\nmov     [rsp+190h+var_118], 0                                          ; +0x398, 0x1404021f8\nmov     [rsp+190h+var_120], 2                                          ; +0x39d, 0x1404021fd\nmov     [rsp+190h+var_128], esi                                        ; +0x3a5, 0x140402205\nmov     [rsp+190h+var_130], esi                                        ; +0x3a9, 0x140402209\nmov     [rsp+190h+var_138], esi                                        ; +0x3ad, 0x14040220d\nmovss   [rsp+190h+var_140], xmm7                                       ; +0x3b1, 0x140402211\nmovss   [rsp+190h+var_148], xmm6                                       ; +0x3b7, 0x140402217\nmov     [rsp+190h+var_150], 1                                          ; +0x3bd, 0x14040221d\nmov     [rsp+190h+var_158], 6                                          ; +0x3c2, 0x140402222\nmov     [rsp+190h+var_160], 2                                          ; +0x3ca, 0x14040222a\nmov     byte ptr [rsp+190h+var_168], 1                                 ; +0x3d2, 0x140402232\nmovss   [rsp+190h+var_170], xmm7                                       ; +0x3d7, 0x140402237\nlea     r9, [rbp+90h+var_110]                                          ; +0x3dd, 0x14040223d\nlea     r8, [rbp+90h+var_E8]                                           ; +0x3e1, 0x140402241\nmov     edx, 33h ; '3'                                                 ; +0x3e5, 0x140402245\nmov     rcx, rbx                                                       ; +0x3ea, 0x14040224a\ncall    SetupTriggerPopup__createValueControlAdvanced                  ; +0x3ed, 0x14040224d\ncmp     [rbp+90h+arg_38], 0E4Eh                                        ; +0x3f2, 0x140402252\njz      short loc_140402266                                            ; +0x3fc, 0x14040225c\nmov     rcx, rbx                                                       ; +0x3fe, 0x14040225e\ncall    SetupTriggerPopup__createMultiTriggerItemsDefault              ; +0x401, 0x140402261\nmov     rax, [rbx]                                                     ; +0x406, 0x140402266\nmov     rcx, rbx                                                       ; +0x409, 0x140402269\ncall    qword ptr [rax+450h]                                           ; +0x40c, 0x14040226c\nmov     byte ptr [rbx+2CCh], 0                                         ; +0x412, 0x140402272\ncmp     r13, 0Fh                                                       ; +0x419, 0x140402279\njbe     short loc_1404022B4                                            ; +0x41d, 0x14040227d\nlea     rdx, [r13+1]                                                   ; +0x41f, 0x14040227f\nmov     rax, rdi                                                       ; +0x423, 0x140402283\ncmp     rdx, 1000h                                                     ; +0x426, 0x140402286\njb      short loc_1404022AB                                            ; +0x42d, 0x14040228d\nadd     rdx, 27h ; '''                                                 ; +0x42f, 0x14040228f\nmov     rdi, [rdi-8]                                                   ; +0x433, 0x140402293\nsub     rax, rdi                                                       ; +0x437, 0x140402297\nadd     rax, 0FFFFFFFFFFFFFFF8h                                        ; +0x43a, 0x14040229a\ncmp     rax, 1Fh                                                       ; +0x43e, 0x14040229e\njbe     short loc_1404022AB                                            ; +0x442, 0x1404022a2\ncall    cs:_invalid_parameter_noinfo_noreturn                          ; +0x444, 0x1404022a4\ndb 0CCh                                                                ; +0x44a, 0x1404022aa\nmov     rcx, rdi; Block                                                ; +0x44b, 0x1404022ab\ncall    j_j_free                                                       ; +0x44e, 0x1404022ae\nnop                                                                    ; +0x453, 0x1404022b3\nmov     rcx, [rbp+90h+var_B8]                                          ; +0x454, 0x1404022b4\ncall    sub_14003A830                                                  ; +0x458, 0x1404022b8\nnop                                                                    ; +0x45d, 0x1404022bd\nmov     rcx, r15                                                       ; +0x45e, 0x1404022be\ncall    sub_14003A830                                                  ; +0x461, 0x1404022c1\nmov     al, 1                                                          ; +0x466, 0x1404022c6\nmov     rcx, [rbp+90h+var_70]                                          ; +0x468, 0x1404022c8\nxor     rcx, rsp; StackCookie                                          ; +0x46c, 0x1404022cc\ncall    __security_check_cookie                                        ; +0x46f, 0x1404022cf\nmovaps  xmm6, [rsp+190h+var_50]                                        ; +0x474, 0x1404022d4\nmovaps  xmm7, [rsp+190h+var_60]                                        ; +0x47c, 0x1404022dc\nadd     rsp, 158h                                                      ; +0x484, 0x1404022e4\npop     r15                                                            ; +0x48b, 0x1404022eb\npop     r14                                                            ; +0x48d, 0x1404022ed\npop     r13                                                            ; +0x48f, 0x1404022ef\npop     r12                                                            ; +0x491, 0x1404022f1\npop     rdi                                                            ; +0x493, 0x1404022f3\npop     rsi                                                            ; +0x494, 0x1404022f4\npop     rbx                                                            ; +0x495, 0x1404022f5\npop     rbp                                                            ; +0x496, 0x1404022f6\nretn                                                                   ; +0x497, 0x1404022f7\ncall    sub_140007B50                                                  ; +0x498, 0x1404022f8\nalign 2                                                                ; +0x49d, 0x1404022fd", "xrefs": ["SetTargetIDLayer::create @ 0x140401e06", "<???> @ 0x1406d88c4"], "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"}