{"type": "func", "start": 5371593376, "end": 5371594305, "name": "KeybindingsLayer::addKeyPair", "pseudocode": "// \n// KeybindingsLayer::addKeyPair from 0x1402c02a0 to 0x1402c0641 (929 bytes)\n// \n// 50 xrefs:\n// > KeybindingsLayer::init @ 0x1402bfc15\n// > KeybindingsLayer::init @ 0x1402bfc3e\n// > KeybindingsLayer::init @ 0x1402bfc54\n// > KeybindingsLayer::init @ 0x1402bfc6a\n// > KeybindingsLayer::init @ 0x1402bfc80\n// > KeybindingsLayer::init @ 0x1402bfca0\n// > KeybindingsLayer::init @ 0x1402bfcc9\n// > KeybindingsLayer::init @ 0x1402bfcdf\n// > KeybindingsLayer::init @ 0x1402bfcf5\n// > KeybindingsLayer::init @ 0x1402bfd0b\n// > KeybindingsLayer::init @ 0x1402bfd21\n// > KeybindingsLayer::init @ 0x1402bfd37\n// > KeybindingsLayer::init @ 0x1402bfd4d\n// > KeybindingsLayer::init @ 0x1402bfd63\n// > KeybindingsLayer::init @ 0x1402bfd79\n// > KeybindingsLayer::init @ 0x1402bfd8f\n// > KeybindingsLayer::init @ 0x1402bfda5\n// > KeybindingsLayer::init @ 0x1402bfdbb\n// > KeybindingsLayer::init @ 0x1402bfdd1\n// > KeybindingsLayer::init @ 0x1402bfde7\n// > KeybindingsLayer::init @ 0x1402bfdfd\n// > KeybindingsLayer::init @ 0x1402bfe13\n// > KeybindingsLayer::init @ 0x1402bfe29\n// > KeybindingsLayer::init @ 0x1402bfe3f\n// > KeybindingsLayer::init @ 0x1402bfe55\n// > KeybindingsLayer::init @ 0x1402bfe6b\n// > KeybindingsLayer::init @ 0x1402bfe81\n// > KeybindingsLayer::init @ 0x1402bfe97\n// > KeybindingsLayer::init @ 0x1402bfead\n// > KeybindingsLayer::init @ 0x1402bfec3\n// > KeybindingsLayer::init @ 0x1402bfed9\n// > KeybindingsLayer::init @ 0x1402bfeef\n// > KeybindingsLayer::init @ 0x1402bff05\n// > KeybindingsLayer::init @ 0x1402bff1b\n// > KeybindingsLayer::init @ 0x1402bff31\n// > KeybindingsLayer::init @ 0x1402bff47\n// > KeybindingsLayer::init @ 0x1402bff5d\n// > KeybindingsLayer::init @ 0x1402bff73\n// > KeybindingsLayer::init @ 0x1402bff89\n// > KeybindingsLayer::init @ 0x1402bff9f\n// > KeybindingsLayer::init @ 0x1402bffb5\n// > KeybindingsLayer::init @ 0x1402bffcb\n// > KeybindingsLayer::init @ 0x1402bffe1\n// > KeybindingsLayer::init @ 0x1402bfff7\n// > KeybindingsLayer::init @ 0x1402c000d\n// > KeybindingsLayer::init @ 0x1402c0023\n// > KeybindingsLayer::init @ 0x1402c0039\n// > KeybindingsLayer::init @ 0x1402c004f\n// > KeybindingsLayer::init @ 0x1402c0065\n// > <???> @ 0x1406d293c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=1\ncocos2d::CCLabelBMFont *KeybindingsLayer::addKeyPair(KeybindingsLayer *a1, const char *a2, const char *a3)\n{\n  int m_keyCount; // ecx\n  float v7; // xmm0_4\n  unsigned int v8; // r15d\n  int m_maxPage; // eax\n  cocos2d::CCLayer *v10; // rsi\n  __int64 v11; // rcx\n  cocos2d::CCDirector *v12; // rax\n  GLubyte v13; // al\n  struct cocos2d::CCLayerColor *v14; // rbx\n  size_t v15; // r12\n  float v16; // xmm0_4\n  double v17; // xmm0_8\n  cocos2d::CCLabelBMFont *v18; // r13\n  cocos2d::CCLabelBMFont_vtbl *v19; // rbx\n  const cocos2d::CCPoint *v20; // rax\n  float v21; // xmm0_4\n  double v22; // xmm0_8\n  cocos2d::CCLabelBMFont *v23; // rdi\n  cocos2d::CCLabelBMFont_vtbl *v24; // rbx\n  const cocos2d::CCPoint *v25; // rax\n  float v26; // xmm0_4\n  KeybindingsLayer *v27; // rbx\n  int v28; // edi\n  cocos2d::CCString *v29; // rax\n  const char *CString; // rax\n  struct cocos2d::CCString *v31; // rax\n  void *v32; // rcx\n  float v34; // [rsp+20h] [rbp-60h] BYREF\n  _BYTE v35[4]; // [rsp+28h] [rbp-58h] BYREF\n  float v36; // [rsp+2Ch] [rbp-54h]\n  cocos2d::CCPoint v37; // [rsp+30h] [rbp-50h] BYREF\n  KeybindingsLayer *v38; // [rsp+40h] [rbp-40h]\n  void *Block[2]; // [rsp+48h] [rbp-38h] BYREF\n  __int128 v40; // [rsp+58h] [rbp-28h]\n\n  v38 = a1;\n  m_keyCount = a1->m_keyCount;\n  a1->m_keyCount = m_keyCount + 1;\n  v7 = floorf((float)(m_keyCount / 7));\n  v8 = (int)fmaxf(0.0, v7);\n  m_maxPage = a1->m_maxPage;\n  if ( m_maxPage <= (int)v8 )\n    m_maxPage = v8;\n  a1->m_maxPage = m_maxPage;\n  v10 = KeybindingsLayer::layerForPage(a1, v8);\n  v12 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v11);\n  cocos2d::CCDirector::getWinSize(v12);\n  cocos2d::CCPoint::CCPoint(v7, v34 * 0.5);\n  v36 = v36 - (float)(int)(30 * KeybindingsLayer::countForPage(a1, v8) + 30);\n  LOWORD(v34) = 0;\n  BYTE2(v34) = 0;\n  v13 = 100;\n  if ( (a1->m_keyCount & 1) == 0 )\n    v13 = 50;\n  HIBYTE(v34) = v13;\n  v14 = cocos2d::CCLayerColor::create((const struct cocos2d::_ccColor4B *)&v34, 360.0, 30.0);\n  v15 = -1;\n  v16 = ((float (__fastcall *)(cocos2d::CCLayer *, struct cocos2d::CCLayerColor *, __int64))v10->addChild_0)(\n          v10,\n          v14,\n          0xFFFFFFFFLL);\n  cocos2d::CCPoint::CCPoint(v16, -180.0);\n  v17 = cocos2d::CCPoint::operator+(v35, &v37);\n  v14->setPosition_0(v14, &v37);\n  v18 = cocos2d::CCLabelBMFont::create(a2, (const char *)&qword_14052A4D8);\n  v19 = v18->cocos2d::CCSpriteBatchNode::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  cocos2d::CCPoint::CCPoint(*(float *)&v17, 0.0);\n  v19->setAnchorPoint(v18, v20);\n  v21 = ((float (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCLabelBMFont *))v10->addChild_1)(v10, v18);\n  cocos2d::CCPoint::CCPoint(v21, -170.0);\n  v22 = cocos2d::CCPoint::operator+(v35, &v37);\n  v18->setPosition_0(v18, &v37);\n  cocos2d::CCLabelBMFont::limitLabelWidth(v18, 260.0, 0.5, 0.0);\n  v23 = cocos2d::CCLabelBMFont::create(a3, \"goldFont.fnt\");\n  v24 = v23->cocos2d::CCSpriteBatchNode::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  cocos2d::CCPoint::CCPoint(*(float *)&v22, 1.0);\n  v24->setAnchorPoint(v23, v25);\n  v26 = ((float (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCLabelBMFont *))v10->addChild_1)(v10, v23);\n  cocos2d::CCPoint::CCPoint(v26, 170.0);\n  cocos2d::CCPoint::operator+(v35, &v37);\n  v23->setPosition_0(v23, &v37);\n  cocos2d::CCLabelBMFont::limitLabelWidth(v23, 100.0, 0.60000002, 0.0);\n  v27 = v38;\n  v28 = KeybindingsLayer::countForPage(v38, v8);\n  v29 = cocos2d::CCString::createWithFormat(\"page_%i\", v8);\n  CString = cocos2d::CCString::getCString(v29);\n  *(_OWORD *)Block = 0;\n  v40 = 0;\n  do\n    ++v15;\n  while ( CString[v15] );\n  sub_14003A930(Block, CString, v15);\n  v31 = cocos2d::CCString::createWithFormat(\"%i\", v28 + 1);\n  cocos2d::CCDictionary::setObject(v27->m_values, v31, Block);\n  if ( *((_QWORD *)&v40 + 1) > 0xFu )\n  {\n    v32 = Block[0];\n    if ( (unsigned __int64)(*((_QWORD *)&v40 + 1) + 1LL) >= 0x1000 )\n    {\n      v32 = *((void **)Block[0] - 1);\n      if ( (unsigned __int64)((char *)Block[0] - (char *)v32 - 8) > 0x1F )\n        invalid_parameter_noinfo_noreturn();\n    }\n    j_j_free(v32);\n  }\n  return v18;\n}", "assembly": "; \n; KeybindingsLayer::addKeyPair from 0x1402c02a0 to 0x1402c0641 (929 bytes)\n; \n; 50 xrefs:\n; > KeybindingsLayer::init @ 0x1402bfc15\n; > KeybindingsLayer::init @ 0x1402bfc3e\n; > KeybindingsLayer::init @ 0x1402bfc54\n; > KeybindingsLayer::init @ 0x1402bfc6a\n; > KeybindingsLayer::init @ 0x1402bfc80\n; > KeybindingsLayer::init @ 0x1402bfca0\n; > KeybindingsLayer::init @ 0x1402bfcc9\n; > KeybindingsLayer::init @ 0x1402bfcdf\n; > KeybindingsLayer::init @ 0x1402bfcf5\n; > KeybindingsLayer::init @ 0x1402bfd0b\n; > KeybindingsLayer::init @ 0x1402bfd21\n; > KeybindingsLayer::init @ 0x1402bfd37\n; > KeybindingsLayer::init @ 0x1402bfd4d\n; > KeybindingsLayer::init @ 0x1402bfd63\n; > KeybindingsLayer::init @ 0x1402bfd79\n; > KeybindingsLayer::init @ 0x1402bfd8f\n; > KeybindingsLayer::init @ 0x1402bfda5\n; > KeybindingsLayer::init @ 0x1402bfdbb\n; > KeybindingsLayer::init @ 0x1402bfdd1\n; > KeybindingsLayer::init @ 0x1402bfde7\n; > KeybindingsLayer::init @ 0x1402bfdfd\n; > KeybindingsLayer::init @ 0x1402bfe13\n; > KeybindingsLayer::init @ 0x1402bfe29\n; > KeybindingsLayer::init @ 0x1402bfe3f\n; > KeybindingsLayer::init @ 0x1402bfe55\n; > KeybindingsLayer::init @ 0x1402bfe6b\n; > KeybindingsLayer::init @ 0x1402bfe81\n; > KeybindingsLayer::init @ 0x1402bfe97\n; > KeybindingsLayer::init @ 0x1402bfead\n; > KeybindingsLayer::init @ 0x1402bfec3\n; > KeybindingsLayer::init @ 0x1402bfed9\n; > KeybindingsLayer::init @ 0x1402bfeef\n; > KeybindingsLayer::init @ 0x1402bff05\n; > KeybindingsLayer::init @ 0x1402bff1b\n; > KeybindingsLayer::init @ 0x1402bff31\n; > KeybindingsLayer::init @ 0x1402bff47\n; > KeybindingsLayer::init @ 0x1402bff5d\n; > KeybindingsLayer::init @ 0x1402bff73\n; > KeybindingsLayer::init @ 0x1402bff89\n; > KeybindingsLayer::init @ 0x1402bff9f\n; > KeybindingsLayer::init @ 0x1402bffb5\n; > KeybindingsLayer::init @ 0x1402bffcb\n; > KeybindingsLayer::init @ 0x1402bffe1\n; > KeybindingsLayer::init @ 0x1402bfff7\n; > KeybindingsLayer::init @ 0x1402c000d\n; > KeybindingsLayer::init @ 0x1402c0023\n; > KeybindingsLayer::init @ 0x1402c0039\n; > KeybindingsLayer::init @ 0x1402c004f\n; > KeybindingsLayer::init @ 0x1402c0065\n; > <???> @ 0x1406d293c\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     [rsp-38h+arg_18], rbx                                          ; +0x0, 0x1402c02a0\npush    rbp                                                            ; +0x5, 0x1402c02a5\npush    rsi                                                            ; +0x6, 0x1402c02a6\npush    rdi                                                            ; +0x7, 0x1402c02a7\npush    r12                                                            ; +0x8, 0x1402c02a8\npush    r13                                                            ; +0xa, 0x1402c02aa\npush    r14                                                            ; +0xc, 0x1402c02ac\npush    r15                                                            ; +0xe, 0x1402c02ae\nmov     rbp, rsp                                                       ; +0x10, 0x1402c02b0\nsub     rsp, 80h                                                       ; +0x13, 0x1402c02b3\nmovaps  [rsp+80h+var_10], xmm6                                         ; +0x1a, 0x1402c02ba\nmov     rax, cs:__security_cookie                                      ; +0x1f, 0x1402c02bf\nxor     rax, rsp                                                       ; +0x26, 0x1402c02c6\nmov     [rbp+var_18], rax                                              ; +0x29, 0x1402c02c9\nmov     r14, r8                                                        ; +0x2d, 0x1402c02cd\nmov     rdi, rdx                                                       ; +0x30, 0x1402c02d0\nmov     rbx, rcx                                                       ; +0x33, 0x1402c02d3\nmov     [rbp+var_40], rcx                                              ; +0x36, 0x1402c02d6\nmov     ecx, [rcx+27Ch]                                                ; +0x3a, 0x1402c02da\nlea     eax, [rcx+1]                                                   ; +0x40, 0x1402c02e0\nmov     [rbx+27Ch], eax                                                ; +0x43, 0x1402c02e3\nmov     eax, 92492493h                                                 ; +0x49, 0x1402c02e9\nimul    ecx                                                            ; +0x4e, 0x1402c02ee\nadd     edx, ecx                                                       ; +0x50, 0x1402c02f0\nsar     edx, 2                                                         ; +0x52, 0x1402c02f2\nmov     eax, edx                                                       ; +0x55, 0x1402c02f5\nshr     eax, 1Fh                                                       ; +0x57, 0x1402c02f7\nadd     edx, eax                                                       ; +0x5a, 0x1402c02fa\nmovd    xmm0, edx                                                      ; +0x5c, 0x1402c02fc\ncvtdq2ps xmm0, xmm0; X                                                 ; +0x60, 0x1402c0300\ncall    floorf                                                         ; +0x63, 0x1402c0303\nxorps   xmm1, xmm1                                                     ; +0x68, 0x1402c0308\nmaxss   xmm1, xmm0                                                     ; +0x6b, 0x1402c030b\ncvttss2si r15d, xmm1                                                   ; +0x6f, 0x1402c030f\nmov     eax, [rbx+280h]                                                ; +0x74, 0x1402c0314\ncmp     eax, r15d                                                      ; +0x7a, 0x1402c031a\ncmovle  eax, r15d                                                      ; +0x7d, 0x1402c031d\nmov     [rbx+280h], eax                                                ; +0x81, 0x1402c0321\nmov     edx, r15d                                                      ; +0x87, 0x1402c0327\nmov     rcx, rbx                                                       ; +0x8a, 0x1402c032a\ncall    KeybindingsLayer__layerForPage                                 ; +0x8d, 0x1402c032d\nmov     rsi, rax                                                       ; +0x92, 0x1402c0332\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x95, 0x1402c0335\nmov     rcx, rax                                                       ; +0x9b, 0x1402c033b\nlea     rdx, [rbp+var_60]                                              ; +0x9e, 0x1402c033e\ncall    cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0xa2, 0x1402c0342\nmovss   xmm2, [rbp+var_5C]                                             ; +0xa8, 0x1402c0348\nmovss   xmm6, cs:dword_140622B08                                       ; +0xad, 0x1402c034d\nmulss   xmm2, xmm6                                                     ; +0xb5, 0x1402c0355\naddss   xmm2, cs:dword_1406232BC                                       ; +0xb9, 0x1402c0359\nmovss   xmm1, [rbp+var_60]                                             ; +0xc1, 0x1402c0361\nmulss   xmm1, xmm6                                                     ; +0xc6, 0x1402c0366\nlea     rcx, [rbp+var_58]                                              ; +0xca, 0x1402c036a\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0xce, 0x1402c036e\nmov     edx, r15d                                                      ; +0xd4, 0x1402c0374\nmov     rcx, rbx                                                       ; +0xd7, 0x1402c0377\ncall    KeybindingsLayer__countForPage; Merged with: KeybindingsLayer::countForPage, ParentalOptionsLayer::countForPage ; +0xda, 0x1402c037a\nimul    ecx, eax, 1Eh                                                  ; +0xdf, 0x1402c037f\nadd     ecx, 1Eh                                                       ; +0xe2, 0x1402c0382\nmovd    xmm0, ecx                                                      ; +0xe5, 0x1402c0385\ncvtdq2ps xmm0, xmm0                                                    ; +0xe9, 0x1402c0389\nmovss   xmm1, [rbp+var_54]                                             ; +0xec, 0x1402c038c\nsubss   xmm1, xmm0                                                     ; +0xf1, 0x1402c0391\nmovss   [rbp+var_54], xmm1                                             ; +0xf5, 0x1402c0395\nmov     word ptr [rbp+var_60], 0                                       ; +0xfa, 0x1402c039a\nmov     byte ptr [rbp+var_60+2], 0                                     ; +0x100, 0x1402c03a0\ntest    byte ptr [rbx+27Ch], 1                                         ; +0x104, 0x1402c03a4\nmov     eax, 64h ; 'd'                                                 ; +0x10b, 0x1402c03ab\nmov     ecx, 32h ; '2'                                                 ; +0x110, 0x1402c03b0\ncmovz   eax, ecx                                                       ; +0x115, 0x1402c03b5\nmov     byte ptr [rbp+var_60+3], al                                    ; +0x118, 0x1402c03b8\nmov     eax, [rbp+var_60]                                              ; +0x11b, 0x1402c03bb\nmov     [rbp+var_60], eax                                              ; +0x11e, 0x1402c03be\nmovss   xmm2, cs:dword_140623164                                       ; +0x121, 0x1402c03c1\nmovss   xmm1, cs:flt_14062346C                                         ; +0x129, 0x1402c03c9\nlea     rcx, [rbp+var_60]                                              ; +0x131, 0x1402c03d1\ncall    cs:?create@CCLayerColor@cocos2d@@SAPEAV12@AEBU_ccColor4B@2@MM@Z; cocos2d::CCLayerColor::create(cocos2d::_ccColor4B const &,float,float) ; +0x135, 0x1402c03d5\nmov     rbx, rax                                                       ; +0x13b, 0x1402c03db\nmov     r9, [rsi]                                                      ; +0x13e, 0x1402c03de\nmov     r12, 0FFFFFFFFFFFFFFFFh                                        ; +0x141, 0x1402c03e1\nmov     r8d, r12d                                                      ; +0x148, 0x1402c03e8\nmov     rdx, rax                                                       ; +0x14b, 0x1402c03eb\nmov     rcx, rsi                                                       ; +0x14e, 0x1402c03ee\ncall    qword ptr [r9+1B8h]                                            ; +0x151, 0x1402c03f1\nmovss   xmm2, cs:dword_140623880                                       ; +0x158, 0x1402c03f8\nmovss   xmm1, cs:dword_140623A9C                                       ; +0x160, 0x1402c0400\nlea     rcx, [rbp+var_48]                                              ; +0x168, 0x1402c0408\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x16c, 0x1402c040c\nmov     r8, rax                                                        ; +0x172, 0x1402c0412\nlea     rdx, [rbp+var_50]                                              ; +0x175, 0x1402c0415\nlea     rcx, [rbp+var_58]                                              ; +0x179, 0x1402c0419\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x17d, 0x1402c041d\nmov     rax, [rbx]                                                     ; +0x183, 0x1402c0423\nlea     rdx, [rbp+var_50]                                              ; +0x186, 0x1402c0426\nmov     rcx, rbx                                                       ; +0x18a, 0x1402c042a\ncall    qword ptr [rax+0B8h]                                           ; +0x18d, 0x1402c042d\nlea     rdx, qword_14052A4D8                                           ; +0x193, 0x1402c0433\nmov     rcx, rdi                                                       ; +0x19a, 0x1402c043a\ncall    cs:?create@CCLabelBMFont@cocos2d@@SAPEAV12@PEBD0@Z; cocos2d::CCLabelBMFont::create(char const *,char const *) ; +0x19d, 0x1402c043d\nmov     r13, rax                                                       ; +0x1a3, 0x1402c0443\nmov     rbx, [rax]                                                     ; +0x1a6, 0x1402c0446\nmovaps  xmm2, xmm6                                                     ; +0x1a9, 0x1402c0449\nxorps   xmm1, xmm1                                                     ; +0x1ac, 0x1402c044c\nlea     rcx, [rbp+var_48]                                              ; +0x1af, 0x1402c044f\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x1b3, 0x1402c0453\nmov     rdx, rax                                                       ; +0x1b9, 0x1402c0459\nmov     rcx, r13                                                       ; +0x1bc, 0x1402c045c\ncall    qword ptr [rbx+110h]                                           ; +0x1bf, 0x1402c045f\nmov     r8, [rsi]                                                      ; +0x1c5, 0x1402c0465\nmov     rdx, r13                                                       ; +0x1c8, 0x1402c0468\nmov     rcx, rsi                                                       ; +0x1cb, 0x1402c046b\ncall    qword ptr [r8+1C0h]                                            ; +0x1ce, 0x1402c046e\nxorps   xmm2, xmm2                                                     ; +0x1d5, 0x1402c0475\nmovss   xmm1, cs:dword_140623A90                                       ; +0x1d8, 0x1402c0478\nlea     rcx, [rbp+var_48]                                              ; +0x1e0, 0x1402c0480\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x1e4, 0x1402c0484\nmov     r8, rax                                                        ; +0x1ea, 0x1402c048a\nlea     rdx, [rbp+var_50]                                              ; +0x1ed, 0x1402c048d\nlea     rcx, [rbp+var_58]                                              ; +0x1f1, 0x1402c0491\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x1f5, 0x1402c0495\nmov     rax, [r13+0]                                                   ; +0x1fb, 0x1402c049b\nlea     rdx, [rbp+var_50]                                              ; +0x1ff, 0x1402c049f\nmov     rcx, r13                                                       ; +0x203, 0x1402c04a3\ncall    qword ptr [rax+0B8h]                                           ; +0x206, 0x1402c04a6\nxorps   xmm3, xmm3                                                     ; +0x20c, 0x1402c04ac\nmovaps  xmm2, xmm6                                                     ; +0x20f, 0x1402c04af\nmovss   xmm1, cs:dword_14062341C                                       ; +0x212, 0x1402c04b2\nmov     rcx, r13                                                       ; +0x21a, 0x1402c04ba\ncall    cs:?limitLabelWidth@CCLabelBMFont@cocos2d@@QEAAXMMM@Z; cocos2d::CCLabelBMFont::limitLabelWidth(float,float,float) ; +0x21d, 0x1402c04bd\nlea     rdx, aGoldfontFnt; \"goldFont.fnt\"                              ; +0x223, 0x1402c04c3\nmov     rcx, r14                                                       ; +0x22a, 0x1402c04ca\ncall    cs:?create@CCLabelBMFont@cocos2d@@SAPEAV12@PEBD0@Z; cocos2d::CCLabelBMFont::create(char const *,char const *) ; +0x22d, 0x1402c04cd\nmov     rdi, rax                                                       ; +0x233, 0x1402c04d3\nmov     rbx, [rax]                                                     ; +0x236, 0x1402c04d6\nmovaps  xmm2, xmm6                                                     ; +0x239, 0x1402c04d9\nmovss   xmm1, cs:flt_140622C24                                         ; +0x23c, 0x1402c04dc\nlea     rcx, [rbp+var_48]                                              ; +0x244, 0x1402c04e4\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x248, 0x1402c04e8\nmov     rdx, rax                                                       ; +0x24e, 0x1402c04ee\nmov     rcx, rdi                                                       ; +0x251, 0x1402c04f1\ncall    qword ptr [rbx+110h]                                           ; +0x254, 0x1402c04f4\nmov     r8, [rsi]                                                      ; +0x25a, 0x1402c04fa\nmov     rdx, rdi                                                       ; +0x25d, 0x1402c04fd\nmov     rcx, rsi                                                       ; +0x260, 0x1402c0500\ncall    qword ptr [r8+1C0h]                                            ; +0x263, 0x1402c0503\nxorps   xmm2, xmm2                                                     ; +0x26a, 0x1402c050a\nmovss   xmm1, cs:dword_140623390                                       ; +0x26d, 0x1402c050d\nlea     rcx, [rbp+var_48]                                              ; +0x275, 0x1402c0515\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x279, 0x1402c0519\nmov     r8, rax                                                        ; +0x27f, 0x1402c051f\nlea     rdx, [rbp+var_50]                                              ; +0x282, 0x1402c0522\nlea     rcx, [rbp+var_58]                                              ; +0x286, 0x1402c0526\ncall    cs:??HCCPoint@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCPoint::operator+(cocos2d::CCPoint const &) ; +0x28a, 0x1402c052a\nmov     rax, [rdi]                                                     ; +0x290, 0x1402c0530\nlea     rdx, [rbp+var_50]                                              ; +0x293, 0x1402c0533\nmov     rcx, rdi                                                       ; +0x297, 0x1402c0537\ncall    qword ptr [rax+0B8h]                                           ; +0x29a, 0x1402c053a\nxorps   xmm3, xmm3                                                     ; +0x2a0, 0x1402c0540\nmovss   xmm2, cs:dword_140622B38                                       ; +0x2a3, 0x1402c0543\nmovss   xmm1, cs:dword_1406232BC                                       ; +0x2ab, 0x1402c054b\nmov     rcx, rdi                                                       ; +0x2b3, 0x1402c0553\ncall    cs:?limitLabelWidth@CCLabelBMFont@cocos2d@@QEAAXMMM@Z; cocos2d::CCLabelBMFont::limitLabelWidth(float,float,float) ; +0x2b6, 0x1402c0556\nmov     edx, r15d                                                      ; +0x2bc, 0x1402c055c\nmov     rbx, [rbp+var_40]                                              ; +0x2bf, 0x1402c055f\nmov     rcx, rbx                                                       ; +0x2c3, 0x1402c0563\ncall    KeybindingsLayer__countForPage; Merged with: KeybindingsLayer::countForPage, ParentalOptionsLayer::countForPage ; +0x2c6, 0x1402c0566\nmov     edi, eax                                                       ; +0x2cb, 0x1402c056b\nmov     edx, r15d                                                      ; +0x2cd, 0x1402c056d\nlea     rcx, aPageI; \"page_%i\"                                         ; +0x2d0, 0x1402c0570\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x2d7, 0x1402c0577\nmov     rcx, rax                                                       ; +0x2dd, 0x1402c057d\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x2e0, 0x1402c0580\nxorps   xmm0, xmm0                                                     ; +0x2e6, 0x1402c0586\nmovups  xmmword ptr [rbp+Block], xmm0                                  ; +0x2e9, 0x1402c0589\nxorps   xmm1, xmm1                                                     ; +0x2ed, 0x1402c058d\nmovdqu  [rbp+var_28], xmm1                                             ; +0x2f0, 0x1402c0590\ninc     r12                                                            ; +0x2f5, 0x1402c0595\ncmp     byte ptr [rax+r12], 0                                          ; +0x2f8, 0x1402c0598\njnz     short loc_1402C0595                                            ; +0x2fd, 0x1402c059d\nmov     r8, r12                                                        ; +0x2ff, 0x1402c059f\nmov     rdx, rax                                                       ; +0x302, 0x1402c05a2\nlea     rcx, [rbp+Block]                                               ; +0x305, 0x1402c05a5\ncall    sub_14003A930                                                  ; +0x309, 0x1402c05a9\nnop                                                                    ; +0x30e, 0x1402c05ae\nlea     edx, [rdi+1]                                                   ; +0x30f, 0x1402c05af\nlea     rcx, aI_11; \"%i\"                                               ; +0x312, 0x1402c05b2\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x319, 0x1402c05b9\nmov     rdx, rax                                                       ; +0x31f, 0x1402c05bf\nlea     r8, [rbp+Block]                                                ; +0x322, 0x1402c05c2\nmov     rcx, [rbx+288h]                                                ; +0x326, 0x1402c05c6\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 &) ; +0x32d, 0x1402c05cd\nnop                                                                    ; +0x333, 0x1402c05d3\nmov     rdx, qword ptr [rbp+var_28+8]                                  ; +0x334, 0x1402c05d4\ncmp     rdx, 0Fh                                                       ; +0x338, 0x1402c05d8\njbe     short loc_1402C0612                                            ; +0x33c, 0x1402c05dc\ninc     rdx                                                            ; +0x33e, 0x1402c05de\nmov     rcx, [rbp+Block]; Block                                        ; +0x341, 0x1402c05e1\nmov     rax, rcx                                                       ; +0x345, 0x1402c05e5\ncmp     rdx, 1000h                                                     ; +0x348, 0x1402c05e8\njb      short loc_1402C060D                                            ; +0x34f, 0x1402c05ef\nadd     rdx, 27h ; '''                                                 ; +0x351, 0x1402c05f1\nmov     rcx, [rcx-8]                                                   ; +0x355, 0x1402c05f5\nsub     rax, rcx                                                       ; +0x359, 0x1402c05f9\nadd     rax, 0FFFFFFFFFFFFFFF8h                                        ; +0x35c, 0x1402c05fc\ncmp     rax, 1Fh                                                       ; +0x360, 0x1402c0600\njbe     short loc_1402C060D                                            ; +0x364, 0x1402c0604\ncall    cs:_invalid_parameter_noinfo_noreturn                          ; +0x366, 0x1402c0606\ndb 0CCh                                                                ; +0x36c, 0x1402c060c\ncall    j_j_free                                                       ; +0x36d, 0x1402c060d\nmov     rax, r13                                                       ; +0x372, 0x1402c0612\nmov     rcx, [rbp+var_18]                                              ; +0x375, 0x1402c0615\nxor     rcx, rsp; StackCookie                                          ; +0x379, 0x1402c0619\ncall    __security_check_cookie                                        ; +0x37c, 0x1402c061c\nmov     rbx, [rsp+80h+arg_18]                                          ; +0x381, 0x1402c0621\nmovaps  xmm6, [rsp+80h+var_10]                                         ; +0x389, 0x1402c0629\nadd     rsp, 80h                                                       ; +0x38e, 0x1402c062e\npop     r15                                                            ; +0x395, 0x1402c0635\npop     r14                                                            ; +0x397, 0x1402c0637\npop     r13                                                            ; +0x399, 0x1402c0639\npop     r12                                                            ; +0x39b, 0x1402c063b\npop     rdi                                                            ; +0x39d, 0x1402c063d\npop     rsi                                                            ; +0x39e, 0x1402c063e\npop     rbp                                                            ; +0x39f, 0x1402c063f\nretn                                                                   ; +0x3a0, 0x1402c0640", "xrefs": ["KeybindingsLayer::init @ 0x1402bfc15", "KeybindingsLayer::init @ 0x1402bfc3e", "KeybindingsLayer::init @ 0x1402bfc54", "KeybindingsLayer::init @ 0x1402bfc6a", "KeybindingsLayer::init @ 0x1402bfc80", "KeybindingsLayer::init @ 0x1402bfca0", "KeybindingsLayer::init @ 0x1402bfcc9", "KeybindingsLayer::init @ 0x1402bfcdf", "KeybindingsLayer::init @ 0x1402bfcf5", "KeybindingsLayer::init @ 0x1402bfd0b", "KeybindingsLayer::init @ 0x1402bfd21", "KeybindingsLayer::init @ 0x1402bfd37", "KeybindingsLayer::init @ 0x1402bfd4d", "KeybindingsLayer::init @ 0x1402bfd63", "KeybindingsLayer::init @ 0x1402bfd79", "KeybindingsLayer::init @ 0x1402bfd8f", "KeybindingsLayer::init @ 0x1402bfda5", "KeybindingsLayer::init @ 0x1402bfdbb", "KeybindingsLayer::init @ 0x1402bfdd1", "KeybindingsLayer::init @ 0x1402bfde7", "KeybindingsLayer::init @ 0x1402bfdfd", "KeybindingsLayer::init @ 0x1402bfe13", "KeybindingsLayer::init @ 0x1402bfe29", "KeybindingsLayer::init @ 0x1402bfe3f", "KeybindingsLayer::init @ 0x1402bfe55", "KeybindingsLayer::init @ 0x1402bfe6b", "KeybindingsLayer::init @ 0x1402bfe81", "KeybindingsLayer::init @ 0x1402bfe97", "KeybindingsLayer::init @ 0x1402bfead", "KeybindingsLayer::init @ 0x1402bfec3", "KeybindingsLayer::init @ 0x1402bfed9", "KeybindingsLayer::init @ 0x1402bfeef", "KeybindingsLayer::init @ 0x1402bff05", "KeybindingsLayer::init @ 0x1402bff1b", "KeybindingsLayer::init @ 0x1402bff31", "KeybindingsLayer::init @ 0x1402bff47", "KeybindingsLayer::init @ 0x1402bff5d", "KeybindingsLayer::init @ 0x1402bff73", "KeybindingsLayer::init @ 0x1402bff89", "KeybindingsLayer::init @ 0x1402bff9f", "KeybindingsLayer::init @ 0x1402bffb5", "KeybindingsLayer::init @ 0x1402bffcb", "KeybindingsLayer::init @ 0x1402bffe1", "KeybindingsLayer::init @ 0x1402bfff7", "KeybindingsLayer::init @ 0x1402c000d", "KeybindingsLayer::init @ 0x1402c0023", "KeybindingsLayer::init @ 0x1402c0039", "KeybindingsLayer::init @ 0x1402c004f", "KeybindingsLayer::init @ 0x1402c0065", "<???> @ 0x1406d293c"], "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"}