{"type": "func", "start": 5371395808, "end": 5371396870, "name": "GJOptionsLayer::addToggleInternal", "pseudocode": "// \n// GJOptionsLayer::addToggleInternal from 0x14028fee0 to 0x140290306 (1062 bytes)\n// \n// 35 xrefs:\n// > GJOptionsLayer::addGVToggle @ 0x14028fe28\n// > GameOptionsLayer::setupOptions @ 0x14029f019\n// > GameOptionsLayer::setupOptions @ 0x14029f07d\n// > GameOptionsLayer::setupOptions @ 0x14029f0d9\n// > GameOptionsLayer::setupOptions @ 0x14029f13d\n// > GameOptionsLayer::setupOptions @ 0x14029f1a1\n// > GameOptionsLayer::setupOptions @ 0x14029f205\n// > GameOptionsLayer::setupOptions @ 0x14029f269\n// > GameOptionsLayer::setupOptions @ 0x14029f2cd\n// > GameOptionsLayer::setupOptions @ 0x14029f338\n// > GameOptionsLayer::setupOptions @ 0x14029f3a3\n// > GameLevelOptionsLayer::setupOptions @ 0x1402a0c1b\n// > GameLevelOptionsLayer::setupOptions @ 0x1402a0c44\n// > LevelOptionsLayer::setupOptions @ 0x1403240cb\n// > LevelOptionsLayer::setupOptions @ 0x1403240f4\n// > LevelOptionsLayer::setupOptions @ 0x14032412e\n// > LevelOptionsLayer::setupOptions @ 0x140324157\n// > LevelOptionsLayer::setupOptions @ 0x140324180\n// > LevelOptionsLayer::setupOptions @ 0x1403241a9\n// > LevelOptionsLayer::setupOptions @ 0x1403241d2\n// > LevelOptionsLayer::setupOptions @ 0x140324210\n// > LevelOptionsLayer2::setupOptions @ 0x140324a01\n// > LevelOptionsLayer2::setupOptions @ 0x140324a31\n// > LevelOptionsLayer2::setupOptions @ 0x140324a61\n// > LevelOptionsLayer2::setupOptions @ 0x140324a91\n// > LevelOptionsLayer2::setupOptions @ 0x140324ac1\n// > LevelOptionsLayer2::setupOptions @ 0x140324af1\n// > LevelOptionsLayer2::setupOptions @ 0x140324b21\n// > LevelOptionsLayer2::setupOptions @ 0x140324b51\n// > LevelOptionsLayer2::setupOptions @ 0x140324b81\n// > LevelOptionsLayer2::setupOptions @ 0x140324bb1\n// > LevelOptionsLayer2::setupOptions @ 0x140324be1\n// > LevelOptionsLayer2::setupOptions @ 0x140324c11\n// > LevelOptionsLayer2::setupOptions @ 0x140324c43\n// > <???> @ 0x1406d1934\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=3\nvoid GJOptionsLayer::addToggleInternal(GJOptionsLayer *a1, const char *a2, int a3, bool a4, const char *a5)\n{\n  int m_toggleCount; // eax\n  int v10; // r15d\n  int m_maxPage; // eax\n  size_t v12; // rdi\n  size_t v13; // r8\n  float *v14; // rax\n  float *v15; // rbx\n  cocos2d::CCLayer *v16; // rbx\n  struct cocos2d::CCPoint v17; // rax\n  CCMenuItemToggler *ToggleButton; // r13\n  cocos2d::CCArray *v19; // r15\n  __int64 v20; // rax\n  cocos2d::CCString *v21; // rax\n  const char *CString; // rax\n  size_t v23; // r8\n  __int64 v24; // rax\n  void *v25; // rcx\n  void *v26; // rcx\n  struct cocos2d::CCSprite *v27; // rbx\n  CCMenuItemSpriteExtra *v28; // rdi\n  float v29; // xmm0_4\n  __int64 v30; // rax\n  float *v31; // [rsp+50h] [rbp-B0h]\n  cocos2d::CCLayer *v32; // [rsp+80h] [rbp-80h] BYREF\n  char v33[8]; // [rsp+88h] [rbp-78h] BYREF\n  __int128 *v34; // [rsp+90h] [rbp-70h]\n  __int128 v35; // [rsp+98h] [rbp-68h] BYREF\n  __int64 v36; // [rsp+A8h] [rbp-58h]\n  __int64 v37; // [rsp+B0h] [rbp-50h]\n  cocos2d::CCPoint v38; // [rsp+C0h] [rbp-40h] BYREF\n  void *Block[2]; // [rsp+C8h] [rbp-38h] BYREF\n  __m128i si128; // [rsp+D8h] [rbp-28h]\n  void *v41[2]; // [rsp+E8h] [rbp-18h] BYREF\n  __int128 v42; // [rsp+F8h] [rbp-8h]\n\n  m_toggleCount = a1->m_toggleCount;\n  a1->m_toggleCount = m_toggleCount + 1;\n  v10 = (int)fmaxf(0.0, floorf((float)(m_toggleCount / a1->m_togglesPerPage)));\n  m_maxPage = a1->m_maxPage;\n  if ( m_maxPage <= v10 )\n    m_maxPage = v10;\n  a1->m_maxPage = m_maxPage;\n  sub_140290310(a1, v33, (unsigned int)v10);\n  v32 = GJOptionsLayer::layerForPage(a1, v10);\n  v34 = &v35;\n  v35 = 0;\n  v36 = 0;\n  v37 = 0;\n  v12 = -1;\n  v13 = -1;\n  do\n    ++v13;\n  while ( a2[v13] );\n  sub_14003A930(&v35, a2, v13);\n  cocos2d::CCPoint::CCPoint(0.0, 8.0);\n  v15 = v14;\n  cocos2d::CCPoint::CCPoint(&v38);\n  v31 = v15;\n  v16 = v32;\n  ToggleButton = GameToolbox::createToggleButton(\n                   (const char *)&v35,\n                   (cocos2d::SEL_MenuHandler *)GJOptionsLayer::onToggle,\n                   a4,\n                   a1->m_buttonMenu,\n                   v17,\n                   a1,\n                   v32,\n                   0.80000001,\n                   a1->m_maxLabelScale,\n                   a1->m_maxLabelWidth,\n                   v31,\n                   (const char *)&qword_14052A4D8,\n                   0,\n                   0,\n                   nullptr);\n  ToggleButton->setTag(ToggleButton, a3);\n  *(_DWORD *)(*(_QWORD *)&ToggleButton->m_nScriptTapHandler + 372LL) = 1065353216;\n  HIDWORD(ToggleButton->m_offButton->m_pfnSelector.adj) = 1065353216;\n  CCMenuItemToggler::toggle(ToggleButton, (bool)ToggleButton->m_onButton);\n  GJOptionsLayer::incrementCountForPage(a1, v10);\n  v19 = GJOptionsLayer::objectsForPage(a1, v10);\n  cocos2d::CCArray::addObject(v19, ToggleButton);\n  ToggleButton->setVisible(ToggleButton, 0);\n  v16->setVisible(v16, 0);\n  if ( a5 )\n  {\n    v20 = -1;\n    do\n      ++v20;\n    while ( a5[v20] );\n    if ( v20 )\n    {\n      v21 = cocos2d::CCString::createWithFormat(\"info_%i\", a3);\n      CString = cocos2d::CCString::getCString(v21);\n      *(_OWORD *)v41 = 0;\n      v42 = 0;\n      v23 = -1;\n      do\n        ++v23;\n      while ( CString[v23] );\n      sub_14003A930(v41, CString, v23);\n      *(_OWORD *)Block = 0;\n      si128 = 0;\n      do\n        ++v12;\n      while ( a5[v12] );\n      sub_14003A930(Block, a5, v12);\n      v24 = cocos2d::CCString::create(Block);\n      cocos2d::CCDictionary::setObject(a1->m_values, v24, v41);\n      if ( si128.m128i_i64[1] > 0xFuLL )\n      {\n        v25 = Block[0];\n        if ( (unsigned __int64)(si128.m128i_i64[1] + 1) >= 0x1000 )\n        {\n          v25 = *((void **)Block[0] - 1);\n          if ( (unsigned __int64)((char *)Block[0] - (char *)v25 - 8) > 0x1F )\n            invalid_parameter_noinfo_noreturn();\n        }\n        j_j_free(v25);\n      }\n      si128 = _mm_load_si128((const __m128i *)&xmmword_140623F30);\n      LOBYTE(Block[0]) = 0;\n      if ( *((_QWORD *)&v42 + 1) > 0xFu )\n      {\n        v26 = v41[0];\n        if ( (unsigned __int64)(*((_QWORD *)&v42 + 1) + 1LL) >= 0x1000 )\n        {\n          v26 = *((void **)v41[0] - 1);\n          if ( (unsigned __int64)((char *)v41[0] - (char *)v26 - 8) > 0x1F )\n            invalid_parameter_noinfo_noreturn();\n        }\n        j_j_free(v26);\n      }\n      v27 = cocos2d::CCSprite::createWithSpriteFrameName(\"GJ_infoIcon_001.png\");\n      ((void (__fastcall *)(struct cocos2d::CCSprite *))v27->setScale_0)(v27);\n      v28 = CCMenuItemSpriteExtra::create(v27, nullptr, a1, (cocos2d::SEL_MenuHandler *)GJOptionsLayer::onInfo);\n      HIDWORD(v28->m_pfnSelector.adj) = 0x40000000;\n      v28->setTag(v28, a3);\n      v29 = ((float (__fastcall *)(cocos2d::CCMenu *, CCMenuItemSpriteExtra *))a1->m_buttonMenu->addChild_1)(\n              a1->m_buttonMenu,\n              v28);\n      cocos2d::CCPoint::CCPoint(v29, -18.0);\n      v30 = (__int64)ToggleButton->getPosition_0(ToggleButton);\n      cocos2d::CCPoint::operator+(v30, &v32);\n      v28->setPosition_0(v28, (const cocos2d::CCPoint *)&v32);\n      cocos2d::CCArray::addObject(v19, v28);\n      v28->setVisible(v28, 0);\n    }\n  }\n}", "assembly": "; \n; GJOptionsLayer::addToggleInternal from 0x14028fee0 to 0x140290306 (1062 bytes)\n; \n; 35 xrefs:\n; > GJOptionsLayer::addGVToggle @ 0x14028fe28\n; > GameOptionsLayer::setupOptions @ 0x14029f019\n; > GameOptionsLayer::setupOptions @ 0x14029f07d\n; > GameOptionsLayer::setupOptions @ 0x14029f0d9\n; > GameOptionsLayer::setupOptions @ 0x14029f13d\n; > GameOptionsLayer::setupOptions @ 0x14029f1a1\n; > GameOptionsLayer::setupOptions @ 0x14029f205\n; > GameOptionsLayer::setupOptions @ 0x14029f269\n; > GameOptionsLayer::setupOptions @ 0x14029f2cd\n; > GameOptionsLayer::setupOptions @ 0x14029f338\n; > GameOptionsLayer::setupOptions @ 0x14029f3a3\n; > GameLevelOptionsLayer::setupOptions @ 0x1402a0c1b\n; > GameLevelOptionsLayer::setupOptions @ 0x1402a0c44\n; > LevelOptionsLayer::setupOptions @ 0x1403240cb\n; > LevelOptionsLayer::setupOptions @ 0x1403240f4\n; > LevelOptionsLayer::setupOptions @ 0x14032412e\n; > LevelOptionsLayer::setupOptions @ 0x140324157\n; > LevelOptionsLayer::setupOptions @ 0x140324180\n; > LevelOptionsLayer::setupOptions @ 0x1403241a9\n; > LevelOptionsLayer::setupOptions @ 0x1403241d2\n; > LevelOptionsLayer::setupOptions @ 0x140324210\n; > LevelOptionsLayer2::setupOptions @ 0x140324a01\n; > LevelOptionsLayer2::setupOptions @ 0x140324a31\n; > LevelOptionsLayer2::setupOptions @ 0x140324a61\n; > LevelOptionsLayer2::setupOptions @ 0x140324a91\n; > LevelOptionsLayer2::setupOptions @ 0x140324ac1\n; > LevelOptionsLayer2::setupOptions @ 0x140324af1\n; > LevelOptionsLayer2::setupOptions @ 0x140324b21\n; > LevelOptionsLayer2::setupOptions @ 0x140324b51\n; > LevelOptionsLayer2::setupOptions @ 0x140324b81\n; > LevelOptionsLayer2::setupOptions @ 0x140324bb1\n; > LevelOptionsLayer2::setupOptions @ 0x140324be1\n; > LevelOptionsLayer2::setupOptions @ 0x140324c11\n; > LevelOptionsLayer2::setupOptions @ 0x140324c43\n; > <???> @ 0x1406d1934\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\npush    rbp                                                            ; +0x0, 0x14028fee0\npush    rbx                                                            ; +0x2, 0x14028fee2\npush    rsi                                                            ; +0x3, 0x14028fee3\npush    rdi                                                            ; +0x4, 0x14028fee4\npush    r12                                                            ; +0x5, 0x14028fee5\npush    r13                                                            ; +0x7, 0x14028fee7\npush    r14                                                            ; +0x9, 0x14028fee9\npush    r15                                                            ; +0xb, 0x14028feeb\nlea     rbp, [rsp-18h]                                                 ; +0xd, 0x14028feed\nsub     rsp, 118h                                                      ; +0x12, 0x14028fef2\nmov     rax, cs:__security_cookie                                      ; +0x19, 0x14028fef9\nxor     rax, rsp                                                       ; +0x20, 0x14028ff00\nmov     [rbp+50h+var_48], rax                                          ; +0x23, 0x14028ff03\nmovzx   r13d, r9b                                                      ; +0x27, 0x14028ff07\nmov     r12d, r8d                                                      ; +0x2b, 0x14028ff0b\nmov     rbx, rdx                                                       ; +0x2e, 0x14028ff0e\nmov     r14, rcx                                                       ; +0x31, 0x14028ff11\nmov     rsi, [rbp+50h+arg_20]                                          ; +0x34, 0x14028ff14\nmov     eax, [rcx+3B4h]                                                ; +0x3b, 0x14028ff1b\nlea     ecx, [rax+1]                                                   ; +0x41, 0x14028ff21\nmov     [r14+3B4h], ecx                                                ; +0x44, 0x14028ff24\ncdq                                                                    ; +0x4b, 0x14028ff2b\nidiv    dword ptr [r14+3B0h]                                           ; +0x4c, 0x14028ff2c\nmovd    xmm0, eax                                                      ; +0x53, 0x14028ff33\ncvtdq2ps xmm0, xmm0; X                                                 ; +0x57, 0x14028ff37\ncall    floorf                                                         ; +0x5a, 0x14028ff3a\nxorps   xmm1, xmm1                                                     ; +0x5f, 0x14028ff3f\nmaxss   xmm1, xmm0                                                     ; +0x62, 0x14028ff42\ncvttss2si r15d, xmm1                                                   ; +0x66, 0x14028ff46\nmov     eax, [r14+3B8h]                                                ; +0x6b, 0x14028ff4b\ncmp     eax, r15d                                                      ; +0x72, 0x14028ff52\ncmovle  eax, r15d                                                      ; +0x75, 0x14028ff55\nmov     [r14+3B8h], eax                                                ; +0x79, 0x14028ff59\nmov     r8d, r15d                                                      ; +0x80, 0x14028ff60\nlea     rdx, [rbp+50h+var_C8]                                          ; +0x83, 0x14028ff63\nmov     rcx, r14                                                       ; +0x87, 0x14028ff67\ncall    sub_140290310                                                  ; +0x8a, 0x14028ff6a\nmov     edx, r15d                                                      ; +0x8f, 0x14028ff6f\nmov     rcx, r14                                                       ; +0x92, 0x14028ff72\ncall    GJOptionsLayer__layerForPage                                   ; +0x95, 0x14028ff75\nmov     [rbp+50h+var_D0], rax                                          ; +0x9a, 0x14028ff7a\nlea     rax, [rbp+50h+var_B8]                                          ; +0x9e, 0x14028ff7e\nmov     [rbp+50h+var_C0], rax                                          ; +0xa2, 0x14028ff82\nxorps   xmm0, xmm0                                                     ; +0xa6, 0x14028ff86\nmovups  [rbp+50h+var_B8], xmm0                                         ; +0xa9, 0x14028ff89\nxor     eax, eax                                                       ; +0xad, 0x14028ff8d\nmov     [rbp+50h+var_A8], rax                                          ; +0xaf, 0x14028ff8f\nmov     [rbp+50h+var_A0], rax                                          ; +0xb3, 0x14028ff93\nmov     rdi, 0FFFFFFFFFFFFFFFFh                                        ; +0xb7, 0x14028ff97\nmov     r8, rdi                                                        ; +0xbe, 0x14028ff9e\ninc     r8                                                             ; +0xc1, 0x14028ffa1\ncmp     [rbx+r8], al                                                   ; +0xc4, 0x14028ffa4\njnz     short loc_14028FFA1                                            ; +0xc8, 0x14028ffa8\nmov     rdx, rbx                                                       ; +0xca, 0x14028ffaa\nlea     rcx, [rbp+50h+var_B8]                                          ; +0xcd, 0x14028ffad\ncall    sub_14003A930                                                  ; +0xd1, 0x14028ffb1\nnop                                                                    ; +0xd6, 0x14028ffb6\nxorps   xmm2, xmm2                                                     ; +0xd7, 0x14028ffb7\nmovss   xmm1, cs:dword_140623068                                       ; +0xda, 0x14028ffba\nlea     rcx, [rbp+50h+var_98]                                          ; +0xe2, 0x14028ffc2\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xe6, 0x14028ffc6\nmov     rbx, rax                                                       ; +0xec, 0x14028ffcc\nlea     rdx, [rbp+50h+var_C8]                                          ; +0xef, 0x14028ffcf\nlea     rcx, [rbp+50h+var_90]                                          ; +0xf3, 0x14028ffd3\ncall    cs:??0CCPoint@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCPoint::CCPoint(cocos2d::CCPoint const &) ; +0xf7, 0x14028ffd7\nnop                                                                    ; +0xfd, 0x14028ffdd\nxor     ecx, ecx                                                       ; +0xfe, 0x14028ffde\nmov     [rsp+150h+var_E0], rcx                                         ; +0x100, 0x14028ffe0\nmov     [rsp+150h+var_E8], ecx                                         ; +0x105, 0x14028ffe5\nmov     [rsp+150h+var_F0], cl                                          ; +0x109, 0x14028ffe9\nlea     rcx, qword_14052A4D8                                           ; +0x10d, 0x14028ffed\nmov     [rsp+150h+var_F8], rcx                                         ; +0x114, 0x14028fff4\nmov     [rsp+150h+var_100], rbx                                        ; +0x119, 0x14028fff9\nmovss   xmm0, dword ptr [r14+3C0h]                                     ; +0x11e, 0x14028fffe\nmovss   [rsp+150h+var_108], xmm0                                       ; +0x127, 0x140290007\nmovss   xmm1, dword ptr [r14+3BCh]                                     ; +0x12d, 0x14029000d\nmovss   [rsp+150h+var_110], xmm1                                       ; +0x136, 0x140290016\nmovss   xmm0, cs:dword_140622BA4                                       ; +0x13c, 0x14029001c\nmovss   [rsp+150h+var_118], xmm0                                       ; +0x144, 0x140290024\nmov     rbx, [rbp+50h+var_D0]                                          ; +0x14a, 0x14029002a\nmov     [rsp+150h+var_120], rbx                                        ; +0x14e, 0x14029002e\nmov     [rsp+150h+var_128], r14                                        ; +0x153, 0x140290033\nmov     [rsp+150h+var_130], rax                                        ; +0x158, 0x140290038\nmov     r9, [r14+220h]                                                 ; +0x15d, 0x14029003d\nmovzx   r8d, r13b                                                      ; +0x164, 0x140290044\nlea     rdx, GJOptionsLayer__onToggle                                  ; +0x168, 0x140290048\nlea     rcx, [rbp+50h+var_B8]                                          ; +0x16f, 0x14029004f\ncall    GameToolbox__createToggleButton                                ; +0x173, 0x140290053\nmov     r13, rax                                                       ; +0x178, 0x140290058\nmov     r8, [rax]                                                      ; +0x17b, 0x14029005b\nmov     edx, r12d                                                      ; +0x17e, 0x14029005e\nmov     rcx, rax                                                       ; +0x181, 0x140290061\ncall    qword ptr [r8+40h]                                             ; +0x184, 0x140290064\nmov     rcx, [r13+178h]                                                ; +0x188, 0x140290068\nmov     dword ptr [rcx+174h], 3F800000h                                ; +0x18f, 0x14029006f\nmov     rcx, [r13+180h]                                                ; +0x199, 0x140290079\nmov     dword ptr [rcx+174h], 3F800000h                                ; +0x1a0, 0x140290080\nmovzx   edx, byte ptr [r13+188h]                                       ; +0x1aa, 0x14029008a\nmov     rcx, r13                                                       ; +0x1b2, 0x140290092\ncall    CCMenuItemToggler__toggle                                      ; +0x1b5, 0x140290095\nmov     edx, r15d                                                      ; +0x1ba, 0x14029009a\nmov     rcx, r14                                                       ; +0x1bd, 0x14029009d\ncall    GJOptionsLayer__incrementCountForPage                          ; +0x1c0, 0x1402900a0\nmov     edx, r15d                                                      ; +0x1c5, 0x1402900a5\nmov     rcx, r14                                                       ; +0x1c8, 0x1402900a8\ncall    GJOptionsLayer__objectsForPage                                 ; +0x1cb, 0x1402900ab\nmov     r15, rax                                                       ; +0x1d0, 0x1402900b0\nmov     rdx, r13                                                       ; +0x1d3, 0x1402900b3\nmov     rcx, rax                                                       ; +0x1d6, 0x1402900b6\ncall    cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x1d9, 0x1402900b9\nmov     r8, [r13+0]                                                    ; +0x1df, 0x1402900bf\nxor     edx, edx                                                       ; +0x1e3, 0x1402900c3\nmov     rcx, r13                                                       ; +0x1e5, 0x1402900c5\ncall    qword ptr [r8+140h]                                            ; +0x1e8, 0x1402900c8\nmov     r8, [rbx]                                                      ; +0x1ef, 0x1402900cf\nxor     edx, edx                                                       ; +0x1f2, 0x1402900d2\nmov     rcx, rbx                                                       ; +0x1f4, 0x1402900d4\ncall    qword ptr [r8+140h]                                            ; +0x1f7, 0x1402900d7\ntest    rsi, rsi                                                       ; +0x1fe, 0x1402900de\njz      loc_1402902E6                                                  ; +0x201, 0x1402900e1\nmov     rax, rdi                                                       ; +0x207, 0x1402900e7\nnop     word ptr [rax+rax+00h]                                         ; +0x20a, 0x1402900ea\ninc     rax                                                            ; +0x210, 0x1402900f0\ncmp     byte ptr [rsi+rax], 0                                          ; +0x213, 0x1402900f3\njnz     short loc_1402900F0                                            ; +0x217, 0x1402900f7\ntest    rax, rax                                                       ; +0x219, 0x1402900f9\njz      loc_1402902E6                                                  ; +0x21c, 0x1402900fc\nmov     edx, r12d                                                      ; +0x222, 0x140290102\nlea     rcx, aInfoI; \"info_%i\"                                         ; +0x225, 0x140290105\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x22c, 0x14029010c\nmov     rcx, rax                                                       ; +0x232, 0x140290112\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x235, 0x140290115\nxorps   xmm0, xmm0                                                     ; +0x23b, 0x14029011b\nmovups  xmmword ptr [rbp+50h+var_68], xmm0                             ; +0x23e, 0x14029011e\nxorps   xmm1, xmm1                                                     ; +0x242, 0x140290122\nmovdqu  [rbp+50h+var_58], xmm1                                         ; +0x245, 0x140290125\nmov     r8, rdi                                                        ; +0x24a, 0x14029012a\nnop     dword ptr [rax]                                                ; +0x24d, 0x14029012d\ninc     r8                                                             ; +0x250, 0x140290130\ncmp     byte ptr [rax+r8], 0                                           ; +0x253, 0x140290133\njnz     short loc_140290130                                            ; +0x258, 0x140290138\nmov     rdx, rax                                                       ; +0x25a, 0x14029013a\nlea     rcx, [rbp+50h+var_68]                                          ; +0x25d, 0x14029013d\ncall    sub_14003A930                                                  ; +0x261, 0x140290141\nnop                                                                    ; +0x266, 0x140290146\nxorps   xmm0, xmm0                                                     ; +0x267, 0x140290147\nmovups  xmmword ptr [rbp+50h+Block], xmm0                              ; +0x26a, 0x14029014a\nxorps   xmm1, xmm1                                                     ; +0x26e, 0x14029014e\nmovdqu  [rbp+50h+var_78], xmm1                                         ; +0x271, 0x140290151\ninc     rdi                                                            ; +0x276, 0x140290156\ncmp     byte ptr [rsi+rdi], 0                                          ; +0x279, 0x140290159\njnz     short loc_140290156                                            ; +0x27d, 0x14029015d\nmov     r8, rdi                                                        ; +0x27f, 0x14029015f\nmov     rdx, rsi                                                       ; +0x282, 0x140290162\nlea     rcx, [rbp+50h+Block]                                           ; +0x285, 0x140290165\ncall    sub_14003A930                                                  ; +0x289, 0x140290169\nnop                                                                    ; +0x28e, 0x14029016e\nlea     rcx, [rbp+50h+Block]                                           ; +0x28f, 0x14029016f\ncall    cs:?create@CCString@cocos2d@@SAPEAV12@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCString::create(std::string const &) ; +0x293, 0x140290173\nmov     rdx, rax                                                       ; +0x299, 0x140290179\nlea     r8, [rbp+50h+var_68]                                           ; +0x29c, 0x14029017c\nmov     rcx, [r14+3C8h]                                                ; +0x2a0, 0x140290180\ncall    cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,std::string const &) ; +0x2a7, 0x140290187\nnop                                                                    ; +0x2ad, 0x14029018d\nmov     rdx, qword ptr [rbp+50h+var_78+8]                              ; +0x2ae, 0x14029018e\ncmp     rdx, 0Fh                                                       ; +0x2b2, 0x140290192\njbe     short loc_1402901CC                                            ; +0x2b6, 0x140290196\ninc     rdx                                                            ; +0x2b8, 0x140290198\nmov     rcx, [rbp+50h+Block]; Block                                    ; +0x2bb, 0x14029019b\nmov     rax, rcx                                                       ; +0x2bf, 0x14029019f\ncmp     rdx, 1000h                                                     ; +0x2c2, 0x1402901a2\njb      short loc_1402901C7                                            ; +0x2c9, 0x1402901a9\nadd     rdx, 27h ; '''                                                 ; +0x2cb, 0x1402901ab\nmov     rcx, [rcx-8]                                                   ; +0x2cf, 0x1402901af\nsub     rax, rcx                                                       ; +0x2d3, 0x1402901b3\nadd     rax, 0FFFFFFFFFFFFFFF8h                                        ; +0x2d6, 0x1402901b6\ncmp     rax, 1Fh                                                       ; +0x2da, 0x1402901ba\njbe     short loc_1402901C7                                            ; +0x2de, 0x1402901be\ncall    cs:_invalid_parameter_noinfo_noreturn                          ; +0x2e0, 0x1402901c0\ndb 0CCh                                                                ; +0x2e6, 0x1402901c6\ncall    j_j_free                                                       ; +0x2e7, 0x1402901c7\nmovdqa  xmm0, cs:xmmword_140623F30                                     ; +0x2ec, 0x1402901cc\nmovdqu  [rbp+50h+var_78], xmm0                                         ; +0x2f4, 0x1402901d4\nmov     byte ptr [rbp+50h+Block], 0                                    ; +0x2f9, 0x1402901d9\nmov     rdx, qword ptr [rbp+50h+var_58+8]                              ; +0x2fd, 0x1402901dd\ncmp     rdx, 0Fh                                                       ; +0x301, 0x1402901e1\njbe     short loc_14029021B                                            ; +0x305, 0x1402901e5\ninc     rdx                                                            ; +0x307, 0x1402901e7\nmov     rcx, [rbp+50h+var_68]; Block                                   ; +0x30a, 0x1402901ea\nmov     rax, rcx                                                       ; +0x30e, 0x1402901ee\ncmp     rdx, 1000h                                                     ; +0x311, 0x1402901f1\njb      short loc_140290216                                            ; +0x318, 0x1402901f8\nadd     rdx, 27h ; '''                                                 ; +0x31a, 0x1402901fa\nmov     rcx, [rcx-8]                                                   ; +0x31e, 0x1402901fe\nsub     rax, rcx                                                       ; +0x322, 0x140290202\nadd     rax, 0FFFFFFFFFFFFFFF8h                                        ; +0x325, 0x140290205\ncmp     rax, 1Fh                                                       ; +0x329, 0x140290209\njbe     short loc_140290216                                            ; +0x32d, 0x14029020d\ncall    cs:_invalid_parameter_noinfo_noreturn                          ; +0x32f, 0x14029020f\nalign 2                                                                ; +0x335, 0x140290215\ncall    j_j_free                                                       ; +0x336, 0x140290216\nlea     rcx, aGjInfoicon001P; \"GJ_infoIcon_001.png\"                    ; +0x33b, 0x14029021b\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x342, 0x140290222\nmov     rbx, rax                                                       ; +0x348, 0x140290228\nmov     r8, [rax]                                                      ; +0x34b, 0x14029022b\nmovss   xmm1, cs:dword_140622B08                                       ; +0x34e, 0x14029022e\nmov     rcx, rax                                                       ; +0x356, 0x140290236\ncall    qword ptr [r8+0A0h]                                            ; +0x359, 0x140290239\nlea     r9, GJOptionsLayer__onInfo                                     ; +0x360, 0x140290240\nmov     r8, r14                                                        ; +0x367, 0x140290247\nxor     edx, edx                                                       ; +0x36a, 0x14029024a\nmov     rcx, rbx                                                       ; +0x36c, 0x14029024c\ncall    CCMenuItemSpriteExtra__create                                  ; +0x36f, 0x14029024f\nmov     rdi, rax                                                       ; +0x374, 0x140290254\nmov     dword ptr [rax+174h], 40000000h                                ; +0x377, 0x140290257\nmov     r8, [rax]                                                      ; +0x381, 0x140290261\nmov     edx, r12d                                                      ; +0x384, 0x140290264\nmov     rcx, rax                                                       ; +0x387, 0x140290267\ncall    qword ptr [r8+40h]                                             ; +0x38a, 0x14029026a\nmov     rcx, [r14+220h]                                                ; +0x38e, 0x14029026e\nmov     r8, [rcx]                                                      ; +0x395, 0x140290275\nmov     rdx, rdi                                                       ; +0x398, 0x140290278\ncall    qword ptr [r8+1C0h]                                            ; +0x39b, 0x14029027b\nmovss   xmm2, cs:dword_1406230F8                                       ; +0x3a2, 0x140290282\nmovss   xmm1, cs:dword_140623890                                       ; +0x3aa, 0x14029028a\nlea     rcx, [rbp+50h+var_C0]                                          ; +0x3b2, 0x140290292\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x3b6, 0x140290296\nmov     rbx, rax                                                       ; +0x3bc, 0x14029029c\nmov     rdx, [r13+0]                                                   ; +0x3bf, 0x14029029f\nmov     rcx, r13                                                       ; +0x3c3, 0x1402902a3\ncall    qword ptr [rdx+0C8h]                                           ; +0x3c6, 0x1402902a6\nmov     r8, rbx                                                        ; +0x3cc, 0x1402902ac\nlea     rdx, [rbp+50h+var_D0]                                          ; +0x3cf, 0x1402902af\nmov     rcx, rax                                                       ; +0x3d3, 0x1402902b3\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x3d6, 0x1402902b6\nmov     rax, [rdi]                                                     ; +0x3dc, 0x1402902bc\nlea     rdx, [rbp+50h+var_D0]                                          ; +0x3df, 0x1402902bf\nmov     rcx, rdi                                                       ; +0x3e3, 0x1402902c3\ncall    qword ptr [rax+0B8h]                                           ; +0x3e6, 0x1402902c6\nmov     rdx, rdi                                                       ; +0x3ec, 0x1402902cc\nmov     rcx, r15                                                       ; +0x3ef, 0x1402902cf\ncall    cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x3f2, 0x1402902d2\nmov     rax, [rdi]                                                     ; +0x3f8, 0x1402902d8\nxor     edx, edx                                                       ; +0x3fb, 0x1402902db\nmov     rcx, rdi                                                       ; +0x3fd, 0x1402902dd\ncall    qword ptr [rax+140h]                                           ; +0x400, 0x1402902e0\nmov     rcx, [rbp+50h+var_48]                                          ; +0x406, 0x1402902e6\nxor     rcx, rsp; StackCookie                                          ; +0x40a, 0x1402902ea\ncall    __security_check_cookie                                        ; +0x40d, 0x1402902ed\nadd     rsp, 118h                                                      ; +0x412, 0x1402902f2\npop     r15                                                            ; +0x419, 0x1402902f9\npop     r14                                                            ; +0x41b, 0x1402902fb\npop     r13                                                            ; +0x41d, 0x1402902fd\npop     r12                                                            ; +0x41f, 0x1402902ff\npop     rdi                                                            ; +0x421, 0x140290301\npop     rsi                                                            ; +0x422, 0x140290302\npop     rbx                                                            ; +0x423, 0x140290303\npop     rbp                                                            ; +0x424, 0x140290304\nretn                                                                   ; +0x425, 0x140290305", "xrefs": ["GJOptionsLayer::addGVToggle @ 0x14028fe28", "GameOptionsLayer::setupOptions @ 0x14029f019", "GameOptionsLayer::setupOptions @ 0x14029f07d", "GameOptionsLayer::setupOptions @ 0x14029f0d9", "GameOptionsLayer::setupOptions @ 0x14029f13d", "GameOptionsLayer::setupOptions @ 0x14029f1a1", "GameOptionsLayer::setupOptions @ 0x14029f205", "GameOptionsLayer::setupOptions @ 0x14029f269", "GameOptionsLayer::setupOptions @ 0x14029f2cd", "GameOptionsLayer::setupOptions @ 0x14029f338", "GameOptionsLayer::setupOptions @ 0x14029f3a3", "GameLevelOptionsLayer::setupOptions @ 0x1402a0c1b", "GameLevelOptionsLayer::setupOptions @ 0x1402a0c44", "LevelOptionsLayer::setupOptions @ 0x1403240cb", "LevelOptionsLayer::setupOptions @ 0x1403240f4", "LevelOptionsLayer::setupOptions @ 0x14032412e", "LevelOptionsLayer::setupOptions @ 0x140324157", "LevelOptionsLayer::setupOptions @ 0x140324180", "LevelOptionsLayer::setupOptions @ 0x1403241a9", "LevelOptionsLayer::setupOptions @ 0x1403241d2", "LevelOptionsLayer::setupOptions @ 0x140324210", "LevelOptionsLayer2::setupOptions @ 0x140324a01", "LevelOptionsLayer2::setupOptions @ 0x140324a31", "LevelOptionsLayer2::setupOptions @ 0x140324a61", "LevelOptionsLayer2::setupOptions @ 0x140324a91", "LevelOptionsLayer2::setupOptions @ 0x140324ac1", "LevelOptionsLayer2::setupOptions @ 0x140324af1", "LevelOptionsLayer2::setupOptions @ 0x140324b21", "LevelOptionsLayer2::setupOptions @ 0x140324b51", "LevelOptionsLayer2::setupOptions @ 0x140324b81", "LevelOptionsLayer2::setupOptions @ 0x140324bb1", "LevelOptionsLayer2::setupOptions @ 0x140324be1", "LevelOptionsLayer2::setupOptions @ 0x140324c11", "LevelOptionsLayer2::setupOptions @ 0x140324c43", "<???> @ 0x1406d1934"], "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"}