{"type": "func", "start": 6442820288, "end": 6442821302, "name": "cocos2d::CCMenu::alignItemsInColumnsWithArray", "pseudocode": "// \n// cocos2d::CCMenu::alignItemsInColumnsWithArray from 0x18005a2c0 to 0x18005a6b6 (1014 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCMenu::alignItemsInColumns @ 0x18005a284\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bccdc\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:21:48 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid __fastcall cocos2d::CCMenu::alignItemsInColumnsWithArray(cocos2d::CCMenu *this, struct cocos2d::CCArray *a2)\n{\n  _BYTE *v3; // r8\n  unsigned int *v4; // rbx\n  __int64 v5; // rax\n  unsigned __int64 v6; // rbx\n  unsigned __int64 v7; // rdi\n  _BYTE *v8; // rdx\n  int v9; // eax\n  __int64 v10; // rbp\n  int v11; // esi\n  int v12; // edi\n  int v13; // r14d\n  cocos2d::CCArray *v14; // rcx\n  __int64 v15; // rax\n  unsigned int *v16; // rbx\n  __int64 v17; // rax\n  _QWORD *v18; // rbx\n  _QWORD *i; // r12\n  __int64 v20; // rax\n  unsigned int v21; // r15d\n  float v22; // xmm6_4\n  struct cocos2d::CCDirector *v23; // rax\n  __int64 v24; // r12\n  int v25; // r15d\n  unsigned int v26; // ebp\n  float v27; // xmm7_4\n  float v28; // xmm10_4\n  float v29; // xmm9_4\n  cocos2d::CCArray *v30; // rcx\n  __int64 v31; // rax\n  unsigned int *v32; // rsi\n  __int64 v33; // rax\n  _QWORD *v34; // rsi\n  _QWORD *j; // r13\n  __int64 v36; // rax\n  __int64 v37; // r14\n  float v38; // xmm6_4\n  __int64 v39; // rbx\n  __int64 v40; // rax\n  float *v41; // rax\n  void *v42; // rcx\n  void *Block[2]; // [rsp+30h] [rbp-B8h] BYREF\n  _BYTE *v44; // [rsp+40h] [rbp-A8h]\n  int v45; // [rsp+F8h] [rbp+10h] BYREF\n  float v46; // [rsp+100h] [rbp+18h] BYREF\n\n  *(_OWORD *)Block = 0;\n  v3 = nullptr;\n  v44 = nullptr;\n  if ( a2 )\n  {\n    v4 = *((unsigned int **)a2 + 7);\n    v5 = *v4;\n    if ( (_DWORD)v5 )\n    {\n      v6 = *((_QWORD *)v4 + 2);\n      v7 = v6 + 8 * (v5 - 1);\n      if ( v6 <= v7 )\n      {\n        v8 = Block[1];\n        while ( *(_QWORD *)v6 )\n        {\n          v9 = *(_DWORD *)(*(_QWORD *)v6 + 56LL);\n          v45 = v9;\n          if ( v8 == v3 )\n          {\n            sub_180030E20((const void **)Block, v8, &v45);\n            v8 = Block[1];\n          }\n          else\n          {\n            *(_DWORD *)v8 = v9;\n            v8 = (char *)Block[1] + 4;\n            Block[1] = (char *)Block[1] + 4;\n          }\n          v6 += 8LL;\n          if ( v6 > v7 )\n            break;\n          v3 = v44;\n        }\n      }\n    }\n  }\n  v10 = 0;\n  v11 = 0;\n  v12 = 0;\n  v13 = -5;\n  v14 = *((cocos2d::CCArray **)this + 26);\n  if ( v14 )\n  {\n    if ( (unsigned int)cocos2d::CCArray::count(v14) )\n    {\n      v15 = *((_QWORD *)this + 26);\n      if ( v15 )\n      {\n        v16 = *(unsigned int **)(v15 + 56);\n        v17 = *v16;\n        if ( (_DWORD)v17 )\n        {\n          v18 = *((_QWORD **)v16 + 2);\n          for ( i = &v18[v17 - 1]; v18 <= i; ++v18 )\n          {\n            if ( !*v18 )\n              break;\n            v20 = _RTDynamicCast(\n                    *v18,\n                    0,\n                    &cocos2d::CCObject `RTTI Type Descriptor',\n                    &cocos2d::CCNode `RTTI Type Descriptor',\n                    0);\n            if ( v20 )\n            {\n              v21 = *((_DWORD *)Block[0] + v10);\n              v22 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v20 + 320LL))(v20) + 4);\n              if ( (float)v11 >= v22 || isnan(v22) )\n                v22 = (float)v11;\n              v11 = (int)v22;\n              if ( ++v12 >= v21 )\n              {\n                v13 += v11 + 5;\n                v12 = 0;\n                v11 = 0;\n                v10 = (unsigned int)(v10 + 1);\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n  v23 = cocos2d::CCDirector::sharedDirector();\n  cocos2d::CCDirector::getWinSize(v23, &v46);\n  v24 = 0;\n  v25 = 0;\n  v26 = 0;\n  v27 = 0.0;\n  v28 = 0.0;\n  v29 = (float)(v13 / 2);\n  v30 = *((cocos2d::CCArray **)this + 26);\n  if ( v30 )\n  {\n    if ( (unsigned int)cocos2d::CCArray::count(v30) )\n    {\n      v31 = *((_QWORD *)this + 26);\n      if ( v31 )\n      {\n        v32 = *(unsigned int **)(v31 + 56);\n        v33 = *v32;\n        if ( (_DWORD)v33 )\n        {\n          v34 = *((_QWORD **)v32 + 2);\n          for ( j = &v34[v33 - 1]; v34 <= j; ++v34 )\n          {\n            if ( !*v34 )\n              break;\n            v36 = _RTDynamicCast(\n                    *v34,\n                    0,\n                    &cocos2d::CCObject `RTTI Type Descriptor',\n                    &cocos2d::CCNode `RTTI Type Descriptor',\n                    0);\n            v37 = v36;\n            if ( v36 )\n            {\n              if ( !v26 )\n              {\n                v26 = *((_DWORD *)Block[0] + v24);\n                v27 = v46 / (float)(int)(v26 + 1);\n                v28 = v27;\n              }\n              v38 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v36 + 320LL))(v36) + 4);\n              if ( (float)v25 >= v38 || isnan(v38) )\n                v38 = (float)v25;\n              v25 = (int)v38;\n              v39 = *(_QWORD *)v37;\n              v40 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v37 + 320LL))(v37);\n              v41 = kmVec2Fill((float *)&v45, v28 - (float)(v46 * 0.5), v29 - (float)(*(float *)(v40 + 4) * 0.5));\n              (*(void (__fastcall **)(__int64, float *))(v39 + 184))(v37, v41);\n              v28 = v28 + v27;\n              if ( ++v12 >= v26 )\n              {\n                v29 = v29 - (float)(v25 + 5);\n                v12 = 0;\n                v26 = 0;\n                v25 = 0;\n                v24 = (unsigned int)(v24 + 1);\n              }\n            }\n          }\n        }\n      }\n    }\n  }\n  v42 = Block[0];\n  if ( Block[0] )\n  {\n    if ( ((v44 - (char *)Block[0]) & 0xFFFFFFFFFFFFFFFCuLL) >= 0x1000 )\n    {\n      v42 = *((void **)Block[0] - 1);\n      if ( (unsigned __int64)((char *)Block[0] - (char *)v42 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    j_j_free_0(v42);\n  }\n}", "assembly": "; \n; cocos2d::CCMenu::alignItemsInColumnsWithArray from 0x18005a2c0 to 0x18005a6b6 (1014 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCMenu::alignItemsInColumns @ 0x18005a284\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bccdc\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:21:48 +0000\n; \nmov     rax, rsp                                                       ; +0x0, 0x18005a2c0\nmov     [rax+20h], rbx                                                 ; +0x3, 0x18005a2c3\npush    rbp                                                            ; +0x7, 0x18005a2c7\npush    rsi                                                            ; +0x8, 0x18005a2c8\npush    rdi                                                            ; +0x9, 0x18005a2c9\npush    r12                                                            ; +0xa, 0x18005a2ca\npush    r13                                                            ; +0xc, 0x18005a2cc\npush    r14                                                            ; +0xe, 0x18005a2ce\npush    r15                                                            ; +0x10, 0x18005a2d0\nsub     rsp, 0B0h                                                      ; +0x12, 0x18005a2d2\nmovaps  xmmword ptr [rax-48h], xmm6                                    ; +0x19, 0x18005a2d9\nmovaps  xmmword ptr [rax-58h], xmm7                                    ; +0x1d, 0x18005a2dd\nmovaps  xmmword ptr [rax-68h], xmm8                                    ; +0x21, 0x18005a2e1\nmovaps  xmmword ptr [rax-78h], xmm9                                    ; +0x26, 0x18005a2e6\nmovaps  [rsp+0E8h+var_88], xmm10                                       ; +0x2b, 0x18005a2eb\nmovaps  [rsp+0E8h+var_98], xmm11                                       ; +0x31, 0x18005a2f1\nmov     r13, rcx                                                       ; +0x37, 0x18005a2f7\nmov     dword ptr [rax+8], 0                                           ; +0x3a, 0x18005a2fa\nxorps   xmm0, xmm0                                                     ; +0x41, 0x18005a301\nmovdqu  xmmword ptr [rsp+0E8h+Block], xmm0                             ; +0x44, 0x18005a304\nxor     r8d, r8d                                                       ; +0x4a, 0x18005a30a\nmov     [rsp+0E8h+var_A8], r8                                          ; +0x4d, 0x18005a30d\nmov     dword ptr [rax+8], 1                                           ; +0x52, 0x18005a312\ntest    rdx, rdx                                                       ; +0x59, 0x18005a319\njz      short loc_18005A390                                            ; +0x5c, 0x18005a31c\nmov     rbx, [rdx+38h]                                                 ; +0x5e, 0x18005a31e\nmov     eax, [rbx]                                                     ; +0x62, 0x18005a322\ntest    eax, eax                                                       ; +0x64, 0x18005a324\njz      short loc_18005A390                                            ; +0x66, 0x18005a326\nmov     rbx, [rbx+10h]                                                 ; +0x68, 0x18005a328\nlea     rdi, [rax-1]                                                   ; +0x6c, 0x18005a32c\nlea     rdi, [rbx+rdi*8]                                               ; +0x70, 0x18005a330\ncmp     rbx, rdi                                                       ; +0x74, 0x18005a334\nja      short loc_18005A390                                            ; +0x77, 0x18005a337\nmov     rdx, [rsp+0E8h+Block+8]                                        ; +0x79, 0x18005a339\nxchg    ax, ax                                                         ; +0x7e, 0x18005a33e\nmov     rax, [rbx]                                                     ; +0x80, 0x18005a340\ntest    rax, rax                                                       ; +0x83, 0x18005a343\njz      short loc_18005A390                                            ; +0x86, 0x18005a346\nmov     eax, [rax+38h]                                                 ; +0x88, 0x18005a348\nmov     [rsp+0E8h+arg_8], eax                                          ; +0x8b, 0x18005a34b\ncmp     rdx, r8                                                        ; +0x92, 0x18005a352\njz      short loc_18005A369                                            ; +0x95, 0x18005a355\nmov     [rdx], eax                                                     ; +0x97, 0x18005a357\nmov     rdx, [rsp+0E8h+Block+8]                                        ; +0x99, 0x18005a359\nadd     rdx, 4                                                         ; +0x9e, 0x18005a35e\nmov     [rsp+0E8h+Block+8], rdx                                        ; +0xa2, 0x18005a362\njmp     short loc_18005A380                                            ; +0xa7, 0x18005a367\nlea     r8, [rsp+0E8h+arg_8]                                           ; +0xa9, 0x18005a369\nlea     rcx, [rsp+0E8h+Block]                                          ; +0xb1, 0x18005a371\ncall    sub_180030E20                                                  ; +0xb6, 0x18005a376\nmov     rdx, [rsp+0E8h+Block+8]                                        ; +0xbb, 0x18005a37b\nadd     rbx, 8                                                         ; +0xc0, 0x18005a380\ncmp     rbx, rdi                                                       ; +0xc4, 0x18005a384\nja      short loc_18005A390                                            ; +0xc7, 0x18005a387\nmov     r8, [rsp+0E8h+var_A8]                                          ; +0xc9, 0x18005a389\njmp     short loc_18005A340                                            ; +0xce, 0x18005a38e\nxor     ebp, ebp                                                       ; +0xd0, 0x18005a390\nxor     esi, esi                                                       ; +0xd2, 0x18005a392\nxor     edi, edi                                                       ; +0xd4, 0x18005a394\nmov     r14d, 0FFFFFFFBh                                               ; +0xd6, 0x18005a396\nmov     rcx, [r13+0D0h]; this                                          ; +0xdc, 0x18005a39c\ntest    rcx, rcx                                                       ; +0xe3, 0x18005a3a3\njz      loc_18005A47F                                                  ; +0xe6, 0x18005a3a6\ncall    ?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xec, 0x18005a3ac\ntest    eax, eax                                                       ; +0xf1, 0x18005a3b1\njz      loc_18005A47F                                                  ; +0xf3, 0x18005a3b3\nmov     rax, [r13+0D0h]                                                ; +0xf9, 0x18005a3b9\ntest    rax, rax                                                       ; +0x100, 0x18005a3c0\njz      loc_18005A47F                                                  ; +0x103, 0x18005a3c3\nmov     rbx, [rax+38h]                                                 ; +0x109, 0x18005a3c9\nmov     eax, [rbx]                                                     ; +0x10d, 0x18005a3cd\ntest    eax, eax                                                       ; +0x10f, 0x18005a3cf\njz      loc_18005A47F                                                  ; +0x111, 0x18005a3d1\nmov     rbx, [rbx+10h]                                                 ; +0x117, 0x18005a3d7\nlea     r12, [rax-1]                                                   ; +0x11b, 0x18005a3db\nlea     r12, [rbx+r12*8]                                               ; +0x11f, 0x18005a3df\ncmp     rbx, r12                                                       ; +0x123, 0x18005a3e3\nja      loc_18005A47F                                                  ; +0x126, 0x18005a3e6\nnop     dword ptr [rax+00h]                                            ; +0x12c, 0x18005a3ec\nmov     rcx, [rbx]                                                     ; +0x130, 0x18005a3f0\ntest    rcx, rcx                                                       ; +0x133, 0x18005a3f3\njz      loc_18005A47F                                                  ; +0x136, 0x18005a3f6\nmov     dword ptr [rsp+0E8h+Reserved], 0                               ; +0x13c, 0x18005a3fc\nlea     r9, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x144, 0x18005a404\nlea     r8, ??_R0?AVCCObject@cocos2d@@@8; cocos2d::CCObject `RTTI Type Descriptor' ; +0x14b, 0x18005a40b\nxor     edx, edx                                                       ; +0x152, 0x18005a412\ncall    __RTDynamicCast                                                ; +0x154, 0x18005a414\ntest    rax, rax                                                       ; +0x159, 0x18005a419\njz      short loc_18005A472                                            ; +0x15c, 0x18005a41c\nmov     rcx, [rsp+0E8h+Block]                                          ; +0x15e, 0x18005a41e\nmov     r15d, [rcx+rbp*4]                                              ; +0x163, 0x18005a423\nmov     rcx, [rax]                                                     ; +0x167, 0x18005a427\nmov     rdx, [rcx+140h]                                                ; +0x16a, 0x18005a42a\nmov     rcx, rax                                                       ; +0x171, 0x18005a431\ncall    rdx                                                            ; +0x174, 0x18005a434\nmovss   xmm6, dword ptr [rax+4]                                        ; +0x176, 0x18005a436\nmov     eax, esi                                                       ; +0x17b, 0x18005a43b\nxorps   xmm7, xmm7                                                     ; +0x17d, 0x18005a43d\ncvtsi2ss xmm7, rax                                                     ; +0x180, 0x18005a440\ncomiss  xmm7, xmm6                                                     ; +0x185, 0x18005a445\njnb     short loc_18005A457                                            ; +0x188, 0x18005a448\ncvtps2pd xmm0, xmm6; X                                                 ; +0x18a, 0x18005a44a\ncall    cs:_isnan                                                      ; +0x18d, 0x18005a44d\ntest    eax, eax                                                       ; +0x193, 0x18005a453\njz      short loc_18005A45A                                            ; +0x195, 0x18005a455\nmovaps  xmm6, xmm7                                                     ; +0x197, 0x18005a457\ncvttss2si rsi, xmm6                                                    ; +0x19a, 0x18005a45a\ninc     edi                                                            ; +0x19f, 0x18005a45f\ncmp     edi, r15d                                                      ; +0x1a1, 0x18005a461\njb      short loc_18005A472                                            ; +0x1a4, 0x18005a464\nadd     esi, 5                                                         ; +0x1a6, 0x18005a466\nadd     r14d, esi                                                      ; +0x1a9, 0x18005a469\nxor     edi, edi                                                       ; +0x1ac, 0x18005a46c\nxor     esi, esi                                                       ; +0x1ae, 0x18005a46e\ninc     ebp                                                            ; +0x1b0, 0x18005a470\nadd     rbx, 8                                                         ; +0x1b2, 0x18005a472\ncmp     rbx, r12                                                       ; +0x1b6, 0x18005a476\njbe     loc_18005A3F0                                                  ; +0x1b9, 0x18005a479\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x1bf, 0x18005a47f\nmov     rcx, rax                                                       ; +0x1c4, 0x18005a484\nlea     rdx, [rsp+0E8h+arg_10]                                         ; +0x1c7, 0x18005a487\ncall    ?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x1cf, 0x18005a48f\nxor     r12d, r12d                                                     ; +0x1d4, 0x18005a494\nxor     r15d, r15d                                                     ; +0x1d7, 0x18005a497\nxor     ebp, ebp                                                       ; +0x1da, 0x18005a49a\nxorps   xmm7, xmm7                                                     ; +0x1dc, 0x18005a49c\nxorps   xmm10, xmm10                                                   ; +0x1df, 0x18005a49f\nmov     eax, r14d                                                      ; +0x1e3, 0x18005a4a3\ncdq                                                                    ; +0x1e6, 0x18005a4a6\nsub     eax, edx                                                       ; +0x1e7, 0x18005a4a7\nsar     eax, 1                                                         ; +0x1e9, 0x18005a4a9\nmovd    xmm9, eax                                                      ; +0x1eb, 0x18005a4ab\ncvtdq2ps xmm9, xmm9                                                    ; +0x1f0, 0x18005a4b0\nmov     rcx, [r13+0D0h]; this                                          ; +0x1f4, 0x18005a4b4\ntest    rcx, rcx                                                       ; +0x1fb, 0x18005a4bb\njz      loc_18005A627                                                  ; +0x1fe, 0x18005a4be\ncall    ?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x204, 0x18005a4c4\ntest    eax, eax                                                       ; +0x209, 0x18005a4c9\njz      loc_18005A627                                                  ; +0x20b, 0x18005a4cb\nmov     rax, [r13+0D0h]                                                ; +0x211, 0x18005a4d1\ntest    rax, rax                                                       ; +0x218, 0x18005a4d8\njz      loc_18005A627                                                  ; +0x21b, 0x18005a4db\nmov     rsi, [rax+38h]                                                 ; +0x221, 0x18005a4e1\nmov     eax, [rsi]                                                     ; +0x225, 0x18005a4e5\ntest    eax, eax                                                       ; +0x227, 0x18005a4e7\njz      loc_18005A627                                                  ; +0x229, 0x18005a4e9\nmov     rsi, [rsi+10h]                                                 ; +0x22f, 0x18005a4ef\nlea     r13, [rax-1]                                                   ; +0x233, 0x18005a4f3\nlea     r13, [rsi+r13*8]                                               ; +0x237, 0x18005a4f7\ncmp     rsi, r13                                                       ; +0x23b, 0x18005a4fb\nja      loc_18005A627                                                  ; +0x23e, 0x18005a4fe\nmovss   xmm11, cs:dword_1800EC358                                      ; +0x244, 0x18005a504\nnop     dword ptr [rax]                                                ; +0x24d, 0x18005a50d\nmov     rcx, [rsi]                                                     ; +0x250, 0x18005a510\ntest    rcx, rcx                                                       ; +0x253, 0x18005a513\njz      loc_18005A627                                                  ; +0x256, 0x18005a516\nmov     dword ptr [rsp+0E8h+Reserved], 0                               ; +0x25c, 0x18005a51c\nlea     r9, ??_R0?AVCCNode@cocos2d@@@8; cocos2d::CCNode `RTTI Type Descriptor' ; +0x264, 0x18005a524\nlea     r8, ??_R0?AVCCObject@cocos2d@@@8; cocos2d::CCObject `RTTI Type Descriptor' ; +0x26b, 0x18005a52b\nxor     edx, edx                                                       ; +0x272, 0x18005a532\ncall    __RTDynamicCast                                                ; +0x274, 0x18005a534\nmov     r14, rax                                                       ; +0x279, 0x18005a539\ntest    rax, rax                                                       ; +0x27c, 0x18005a53c\njz      loc_18005A61A                                                  ; +0x27f, 0x18005a53f\ntest    ebp, ebp                                                       ; +0x285, 0x18005a545\njnz     short loc_18005A56E                                            ; +0x287, 0x18005a547\nmov     rcx, [rsp+0E8h+Block]                                          ; +0x289, 0x18005a549\nmov     ebp, [rcx+r12*4]                                               ; +0x28e, 0x18005a54e\nlea     edx, [rbp+1]                                                   ; +0x292, 0x18005a552\nxorps   xmm0, xmm0                                                     ; +0x295, 0x18005a555\ncvtsi2ss xmm0, rdx                                                     ; +0x298, 0x18005a558\nmovss   xmm7, [rsp+0E8h+arg_10]                                        ; +0x29d, 0x18005a55d\ndivss   xmm7, xmm0                                                     ; +0x2a6, 0x18005a566\nmovaps  xmm10, xmm7                                                    ; +0x2aa, 0x18005a56a\nmov     rax, [rax]                                                     ; +0x2ae, 0x18005a56e\nmov     rcx, r14                                                       ; +0x2b1, 0x18005a571\ncall    qword ptr [rax+140h]                                           ; +0x2b4, 0x18005a574\nmovss   xmm6, dword ptr [rax+4]                                        ; +0x2ba, 0x18005a57a\nmov     eax, r15d                                                      ; +0x2bf, 0x18005a57f\nxorps   xmm8, xmm8                                                     ; +0x2c2, 0x18005a582\ncvtsi2ss xmm8, rax                                                     ; +0x2c6, 0x18005a586\ncomiss  xmm8, xmm6                                                     ; +0x2cb, 0x18005a58b\njnb     short loc_18005A59E                                            ; +0x2cf, 0x18005a58f\ncvtps2pd xmm0, xmm6; X                                                 ; +0x2d1, 0x18005a591\ncall    cs:_isnan                                                      ; +0x2d4, 0x18005a594\ntest    eax, eax                                                       ; +0x2da, 0x18005a59a\njz      short loc_18005A5A2                                            ; +0x2dc, 0x18005a59c\nmovaps  xmm6, xmm8                                                     ; +0x2de, 0x18005a59e\ncvttss2si r15, xmm6                                                    ; +0x2e2, 0x18005a5a2\nmov     rbx, [r14]                                                     ; +0x2e7, 0x18005a5a7\nmov     rcx, r14                                                       ; +0x2ea, 0x18005a5aa\ncall    qword ptr [rbx+140h]                                           ; +0x2ed, 0x18005a5ad\nmovss   xmm0, dword ptr [rax+4]                                        ; +0x2f3, 0x18005a5b3\nmulss   xmm0, xmm11                                                    ; +0x2f8, 0x18005a5b8\nmovaps  xmm2, xmm9                                                     ; +0x2fd, 0x18005a5bd\nsubss   xmm2, xmm0                                                     ; +0x301, 0x18005a5c1\nmovss   xmm3, [rsp+0E8h+arg_10]                                        ; +0x305, 0x18005a5c5\nmulss   xmm3, xmm11                                                    ; +0x30e, 0x18005a5ce\nmovaps  xmm1, xmm10                                                    ; +0x313, 0x18005a5d3\nsubss   xmm1, xmm3                                                     ; +0x317, 0x18005a5d7\nlea     rcx, [rsp+0E8h+arg_8]                                          ; +0x31b, 0x18005a5db\ncall    kmVec2Fill                                                     ; +0x323, 0x18005a5e3\nmov     rdx, rax                                                       ; +0x328, 0x18005a5e8\nmov     rcx, r14                                                       ; +0x32b, 0x18005a5eb\ncall    qword ptr [rbx+0B8h]                                           ; +0x32e, 0x18005a5ee\naddss   xmm10, xmm7                                                    ; +0x334, 0x18005a5f4\ninc     edi                                                            ; +0x339, 0x18005a5f9\ncmp     edi, ebp                                                       ; +0x33b, 0x18005a5fb\njb      short loc_18005A61A                                            ; +0x33d, 0x18005a5fd\nlea     ecx, [r15+5]                                                   ; +0x33f, 0x18005a5ff\nxorps   xmm0, xmm0                                                     ; +0x343, 0x18005a603\ncvtsi2ss xmm0, rcx                                                     ; +0x346, 0x18005a606\nsubss   xmm9, xmm0                                                     ; +0x34b, 0x18005a60b\nxor     edi, edi                                                       ; +0x350, 0x18005a610\nxor     ebp, ebp                                                       ; +0x352, 0x18005a612\nxor     r15d, r15d                                                     ; +0x354, 0x18005a614\ninc     r12d                                                           ; +0x357, 0x18005a617\nadd     rsi, 8                                                         ; +0x35a, 0x18005a61a\ncmp     rsi, r13                                                       ; +0x35e, 0x18005a61e\njbe     loc_18005A510                                                  ; +0x361, 0x18005a621\nmov     rcx, [rsp+0E8h+Block]; Block                                   ; +0x367, 0x18005a627\ntest    rcx, rcx                                                       ; +0x36c, 0x18005a62c\njz      short loc_18005A67D                                            ; +0x36f, 0x18005a62f\nmov     rdx, [rsp+0E8h+var_A8]                                         ; +0x371, 0x18005a631\nsub     rdx, rcx                                                       ; +0x376, 0x18005a636\nand     rdx, 0FFFFFFFFFFFFFFFCh                                        ; +0x379, 0x18005a639\nmov     rax, rcx                                                       ; +0x37d, 0x18005a63d\ncmp     rdx, 1000h                                                     ; +0x380, 0x18005a640\njb      short loc_18005A678                                            ; +0x387, 0x18005a647\nadd     rdx, 27h ; '''                                                 ; +0x389, 0x18005a649\nmov     rcx, [rcx-8]                                                   ; +0x38d, 0x18005a64d\nsub     rax, rcx                                                       ; +0x391, 0x18005a651\nsub     rax, 8                                                         ; +0x394, 0x18005a654\ncmp     rax, 1Fh                                                       ; +0x398, 0x18005a658\njbe     short loc_18005A678                                            ; +0x39c, 0x18005a65c\nmov     [rsp+0E8h+Reserved], 0; Reserved                               ; +0x39e, 0x18005a65e\nxor     r9d, r9d; LineNo                                               ; +0x3a7, 0x18005a667\nxor     r8d, r8d; FileName                                             ; +0x3aa, 0x18005a66a\nxor     edx, edx; FunctionName                                         ; +0x3ad, 0x18005a66d\nxor     ecx, ecx; Expression                                           ; +0x3af, 0x18005a66f\ncall    cs:_invoke_watson                                              ; +0x3b1, 0x18005a671\nalign 8                                                                ; +0x3b7, 0x18005a677\ncall    j_j_free_0                                                     ; +0x3b8, 0x18005a678\nlea     r11, [rsp+0E8h+var_38]                                         ; +0x3bd, 0x18005a67d\nmov     rbx, [r11+58h]                                                 ; +0x3c5, 0x18005a685\nmovaps  xmm6, xmmword ptr [r11-10h]                                    ; +0x3c9, 0x18005a689\nmovaps  xmm7, xmmword ptr [r11-20h]                                    ; +0x3ce, 0x18005a68e\nmovaps  xmm8, xmmword ptr [r11-30h]                                    ; +0x3d3, 0x18005a693\nmovaps  xmm9, xmmword ptr [r11-40h]                                    ; +0x3d8, 0x18005a698\nmovaps  xmm10, xmmword ptr [r11-50h]                                   ; +0x3dd, 0x18005a69d\nmovaps  xmm11, xmmword ptr [r11-60h]                                   ; +0x3e2, 0x18005a6a2\nmov     rsp, r11                                                       ; +0x3e7, 0x18005a6a7\npop     r15                                                            ; +0x3ea, 0x18005a6aa\npop     r14                                                            ; +0x3ec, 0x18005a6ac\npop     r13                                                            ; +0x3ee, 0x18005a6ae\npop     r12                                                            ; +0x3f0, 0x18005a6b0\npop     rdi                                                            ; +0x3f2, 0x18005a6b2\npop     rsi                                                            ; +0x3f3, 0x18005a6b3\npop     rbp                                                            ; +0x3f4, 0x18005a6b4\nretn                                                                   ; +0x3f5, 0x18005a6b5", "xrefs": ["cocos2d::CCMenu::alignItemsInColumns @ 0x18005a284", "<???> @ 0x18014cf68", "<???> @ 0x1801bccdc"], "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"}