{"type": "func", "start": 5372680064, "end": 5372681359, "name": "RateLevelLayer::init", "pseudocode": "// \n// RateLevelLayer::init from 0x1403c9780 to 0x1403c9c8f (1295 bytes)\n// \n// 2 xrefs:\n// > LevelInfoLayer::onRate @ 0x1402fe1af\n// > <???> @ 0x1406d7a30\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\nbool RateLevelLayer::init(RateLevelLayer *a1, int a2)\n{\n  bool result; // al\n  __int64 v5; // rcx\n  cocos2d::CCDirector *v6; // rax\n  struct cocos2d::CCRect *v7; // rax\n  struct cocos2d::extension::CCScale9Sprite *v8; // rdi\n  cocos2d::extension::CCScale9Sprite_vtbl *v9; // rbx\n  const cocos2d::CCSize *v10; // rax\n  float v11; // xmm0_4\n  cocos2d::extension::CCScale9Sprite_vtbl *v12; // rbx\n  double v13; // xmm0_8\n  const cocos2d::CCPoint *v14; // rax\n  struct cocos2d::CCLabelBMFont *v15; // rdi\n  cocos2d::CCLabelBMFont_vtbl *v16; // rbx\n  double v17; // xmm0_8\n  const cocos2d::CCPoint *v18; // rax\n  __int64 v19; // rcx\n  cocos2d::CCArray *v20; // rax\n  __int64 v21; // rcx\n  cocos2d::CCArray *v22; // rbp\n  __int64 v23; // rcx\n  cocos2d::CCMenu *v24; // rax\n  int i; // edi\n  cocos2d::CCString *v26; // rax\n  const char *CString; // rax\n  const char *v28; // rcx\n  struct cocos2d::CCSprite *v29; // r14\n  CCMenuItemSpriteExtra *v30; // rax\n  cocos2d::CCNode *v31; // rbx\n  double v32; // xmm0_8\n  struct cocos2d::CCPoint v33; // rax\n  ButtonSprite *v34; // rdi\n  CCMenuItemSpriteExtra *v35; // rbx\n  ButtonSprite *v36; // rdi\n  CCMenuItemSpriteExtra *v37; // rbx\n  struct cocos2d::CCPoint v38; // rax\n  cocos2d::CCRect v39; // [rsp+40h] [rbp-68h] BYREF\n  float v40; // [rsp+C0h] [rbp+18h]\n  CCMenuItemSpriteExtra *v41; // [rsp+C8h] [rbp+20h] BYREF\n\n  result = FLAlertLayer::init_1(a1, 75);\n  if ( !result )\n    return result;\n  a1->m_levelID = a2;\n  v6 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v5);\n  cocos2d::CCDirector::getWinSize(v6);\n  cocos2d::CCRect::CCRect(&v39, 0.0, 0.0, 80.0, 80.0);\n  v8 = cocos2d::extension::CCScale9Sprite::create(\"GJ_square01.png\", v7);\n  v9 = v8->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v41, 360.0, 180.0);\n  v9->setContentSize(v8, v10);\n  v11 = ((float (__fastcall *)(cocos2d::CCLayer *, struct cocos2d::extension::CCScale9Sprite *, __int64))a1->m_mainLayer->addChild_0)(\n          a1->m_mainLayer,\n          v8,\n          0xFFFFFFFFLL);\n  v12 = v8->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  v13 = cocos2d::CCPoint::CCPoint(v11, v40 * 0.5);\n  v12->setPosition_0(v8, v14);\n  v15 = cocos2d::CCLabelBMFont::create(\"Rate Difficulty\", (const char *)&qword_14052A4D8);\n  v16 = v15->cocos2d::CCSpriteBatchNode::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  v17 = cocos2d::CCPoint::CCPoint(*(float *)&v13, v40 * 0.5);\n  v16->setPosition_0(v15, v18);\n  a1->m_mainLayer->addChild_1(a1->m_mainLayer, v15);\n  v20 = (cocos2d::CCArray *)cocos2d::CCArray::create(v19);\n  a1->m_difficulties = v20;\n  cocos2d::CCObject::retain(v20);\n  v22 = (cocos2d::CCArray *)cocos2d::CCArray::create(v21);\n  v24 = (cocos2d::CCMenu *)cocos2d::CCMenu::create(v23);\n  a1->m_buttonMenu = v24;\n  a1->m_mainLayer->addChild_0(a1->m_mainLayer, v24, 10);\n  for ( i = 0; i <= 6; ++i )\n  {\n    v26 = cocos2d::CCString::createWithFormat(\"difficulty_%02d_btn_001.png\", i);\n    CString = cocos2d::CCString::getCString(v26);\n    v28 = \"difficulty_auto_btn_001.png\";\n    if ( i )\n      v28 = CString;\n    v29 = cocos2d::CCSprite::createWithSpriteFrameName(v28);\n    cocos2d::CCArray::addObject(a1->m_difficulties, v29);\n    ((void (__fastcall *)(struct cocos2d::CCSprite *))v29->setScale_0)(v29);\n    v41 = (CCMenuItemSpriteExtra *)operator new(0x208u);\n    v30 = CCMenuItemSpriteExtra::CCMenuItemSpriteExtra(v41);\n    v31 = v30;\n    if ( v30 )\n    {\n      if ( CCMenuItemSpriteExtra::init(v30, v29, nullptr, a1, (cocos2d::SEL_MenuHandler *)RateLevelLayer::selectRating) )\n      {\n        cocos2d::CCObject::autorelease(v31);\n        goto LABEL_10;\n      }\n      ((void (__fastcall *)(cocos2d::CCNode *, __int64))v31->~CCNode)(v31, 1);\n    }\n    v31 = nullptr;\nLABEL_10:\n    v31->setTag(v31, i);\n    a1->m_buttonMenu->addChild_1(a1->m_buttonMenu, v31);\n    cocos2d::CCArray::addObject(v22, v31);\n  }\n  v32 = cocos2d::CCPoint::CCPoint(*(float *)&v17, v40 * 0.5);\n  v33 = cocos2d::CCNode::convertToNodeSpace(a1->m_buttonMenu, &v39.origin);\n  GameToolbox::alignItemsHorisontally(v22, 16.0, v33, 0);\n  cocos2d::CCArray::removeAllObjects(v22);\n  v34 = ButtonSprite::create_1(\"Cancel\", 0, 0, 1.0, 0, \"goldFont.fnt\", \"GJ_button_01.png\", 0.0);\n  v41 = (CCMenuItemSpriteExtra *)operator new(0x208u);\n  v35 = CCMenuItemSpriteExtra::CCMenuItemSpriteExtra(v41);\n  if ( v35 )\n  {\n    if ( CCMenuItemSpriteExtra::init(v35, v34, nullptr, a1, (cocos2d::SEL_MenuHandler *)RateLevelLayer::onClose) )\n    {\n      cocos2d::CCObject::autorelease(v35);\n      goto LABEL_16;\n    }\n    ((void (__fastcall *)(CCMenuItemSpriteExtra *, __int64))v35->~CCMenuItemSpriteExtra)(v35, 1);\n  }\n  v35 = nullptr;\nLABEL_16:\n  a1->m_buttonMenu->addChild_1(a1->m_buttonMenu, v35);\n  cocos2d::CCArray::addObject(v22, v35);\n  v36 = ButtonSprite::create_1(\"Submit\", 0, 0, 1.0, 0, \"goldFont.fnt\", \"GJ_button_01.png\", 0.0);\n  v41 = (CCMenuItemSpriteExtra *)operator new(0x208u);\n  v37 = CCMenuItemSpriteExtra::CCMenuItemSpriteExtra(v41);\n  if ( v37 )\n  {\n    if ( CCMenuItemSpriteExtra::init(v37, v36, nullptr, a1, (cocos2d::SEL_MenuHandler *)RateLevelLayer::onRate) )\n    {\n      cocos2d::CCObject::autorelease(v37);\n      goto LABEL_21;\n    }\n    ((void (__fastcall *)(CCMenuItemSpriteExtra *, __int64))v37->~CCMenuItemSpriteExtra)(v37, 1);\n  }\n  v37 = nullptr;\nLABEL_21:\n  a1->m_submitButton = v37;\n  a1->m_buttonMenu->addChild_1(a1->m_buttonMenu, v37);\n  cocos2d::CCArray::addObject(v22, a1->m_submitButton);\n  cocos2d::CCPoint::CCPoint(*(float *)&v32, v40 * 0.5);\n  v38 = cocos2d::CCNode::convertToNodeSpace(a1->m_buttonMenu, &v39.origin);\n  GameToolbox::alignItemsHorisontally(v22, 15.0, v38, 0);\n  RateLevelLayer::selectRating(a1, nullptr);\n  return 1;\n}", "assembly": "; \n; RateLevelLayer::init from 0x1403c9780 to 0x1403c9c8f (1295 bytes)\n; \n; 2 xrefs:\n; > LevelInfoLayer::onRate @ 0x1402fe1af\n; > <???> @ 0x1406d7a30\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+arg_0], rbx                                               ; +0x0, 0x1403c9780\npush    rbp                                                            ; +0x5, 0x1403c9785\npush    rsi                                                            ; +0x6, 0x1403c9786\npush    rdi                                                            ; +0x7, 0x1403c9787\npush    r14                                                            ; +0x8, 0x1403c9788\npush    r15                                                            ; +0xa, 0x1403c978a\nsub     rsp, 80h                                                       ; +0xc, 0x1403c978c\nmovaps  [rsp+0A8h+var_38], xmm6                                        ; +0x13, 0x1403c9793\nmovaps  [rsp+0A8h+var_48], xmm7                                        ; +0x18, 0x1403c9798\nmovaps  [rsp+0A8h+var_58], xmm8                                        ; +0x1d, 0x1403c979d\nmov     ebx, edx                                                       ; +0x23, 0x1403c97a3\nmov     rsi, rcx                                                       ; +0x25, 0x1403c97a5\nmov     edx, 4Bh ; 'K'                                                 ; +0x28, 0x1403c97a8\ncall    FLAlertLayer__init_1                                           ; +0x2d, 0x1403c97ad\ntest    al, al                                                         ; +0x32, 0x1403c97b2\njz      loc_1403C9C68                                                  ; +0x34, 0x1403c97b4\nmov     [rsi+288h], ebx                                                ; +0x3a, 0x1403c97ba\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x40, 0x1403c97c0\nmov     rcx, rax                                                       ; +0x46, 0x1403c97c6\nlea     rdx, [rsp+0A8h+arg_10]                                         ; +0x49, 0x1403c97c9\ncall    cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x51, 0x1403c97d1\nmovss   xmm3, cs:dword_14062326C                                       ; +0x57, 0x1403c97d7\nmovss   dword ptr [rsp+0A8h+var_88], xmm3                              ; +0x5f, 0x1403c97df\nxorps   xmm8, xmm8                                                     ; +0x65, 0x1403c97e5\nxorps   xmm2, xmm2                                                     ; +0x69, 0x1403c97e9\nxorps   xmm1, xmm1                                                     ; +0x6c, 0x1403c97ec\nlea     rcx, [rsp+0A8h+var_68]                                         ; +0x6f, 0x1403c97ef\ncall    cs:??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x74, 0x1403c97f4\nmov     rdx, rax                                                       ; +0x7a, 0x1403c97fa\nlea     rcx, aGjSquare01Png; \"GJ_square01.png\"                         ; +0x7d, 0x1403c97fd\ncall    cs:?create@CCScale9Sprite@extension@cocos2d@@SAPEAV123@PEBDVCCRect@3@@Z; cocos2d::extension::CCScale9Sprite::create(char const *,cocos2d::CCRect) ; +0x84, 0x1403c9804\nmov     rdi, rax                                                       ; +0x8a, 0x1403c980a\nmov     rbx, [rax]                                                     ; +0x8d, 0x1403c980d\nmovss   xmm2, cs:dword_1406233A4                                       ; +0x90, 0x1403c9810\nmovss   xmm1, cs:flt_14062346C                                         ; +0x98, 0x1403c9818\nlea     rcx, [rsp+0A8h+arg_18]                                         ; +0xa0, 0x1403c9820\ncall    cs:??0CCSize@cocos2d@@QEAA@MM@Z; cocos2d::CCSize::CCSize(float,float) ; +0xa8, 0x1403c9828\nmov     rdx, rax                                                       ; +0xae, 0x1403c982e\nmov     rcx, rdi                                                       ; +0xb1, 0x1403c9831\ncall    qword ptr [rbx+128h]                                           ; +0xb4, 0x1403c9834\nmov     rcx, [rsi+240h]                                                ; +0xba, 0x1403c983a\nmov     rax, [rcx]                                                     ; +0xc1, 0x1403c9841\nmov     r8d, 0FFFFFFFFh                                                ; +0xc4, 0x1403c9844\nmov     rdx, rdi                                                       ; +0xca, 0x1403c984a\ncall    qword ptr [rax+1B8h]                                           ; +0xcd, 0x1403c984d\nmov     rbx, [rdi]                                                     ; +0xd3, 0x1403c9853\nmovss   xmm2, [rsp+0A8h+arg_14]                                        ; +0xd6, 0x1403c9856\nmovss   xmm7, cs:dword_140622B08                                       ; +0xdf, 0x1403c985f\nmulss   xmm2, xmm7                                                     ; +0xe7, 0x1403c9867\nmovss   xmm1, [rsp+0A8h+arg_10]                                        ; +0xeb, 0x1403c986b\nmulss   xmm1, xmm7                                                     ; +0xf4, 0x1403c9874\nlea     rcx, [rsp+0A8h+arg_18]                                         ; +0xf8, 0x1403c9878\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x100, 0x1403c9880\nmov     rdx, rax                                                       ; +0x106, 0x1403c9886\nmov     rcx, rdi                                                       ; +0x109, 0x1403c9889\ncall    qword ptr [rbx+0B8h]                                           ; +0x10c, 0x1403c988c\nlea     rdx, qword_14052A4D8                                           ; +0x112, 0x1403c9892\nlea     rcx, aRateDifficulty; \"Rate Difficulty\"                        ; +0x119, 0x1403c9899\ncall    cs:?create@CCLabelBMFont@cocos2d@@SAPEAV12@PEBD0@Z; cocos2d::CCLabelBMFont::create(char const *,char const *) ; +0x120, 0x1403c98a0\nmov     rdi, rax                                                       ; +0x126, 0x1403c98a6\nmov     rbx, [rax]                                                     ; +0x129, 0x1403c98a9\nmovss   xmm2, [rsp+0A8h+arg_14]                                        ; +0x12c, 0x1403c98ac\nmulss   xmm2, xmm7                                                     ; +0x135, 0x1403c98b5\naddss   xmm2, cs:dword_140623294                                       ; +0x139, 0x1403c98b9\nsubss   xmm2, cs:dword_140623120                                       ; +0x141, 0x1403c98c1\nmovss   xmm1, [rsp+0A8h+arg_10]                                        ; +0x149, 0x1403c98c9\nmulss   xmm1, xmm7                                                     ; +0x152, 0x1403c98d2\nlea     rcx, [rsp+0A8h+arg_18]                                         ; +0x156, 0x1403c98d6\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x15e, 0x1403c98de\nmov     rdx, rax                                                       ; +0x164, 0x1403c98e4\nmov     rcx, rdi                                                       ; +0x167, 0x1403c98e7\ncall    qword ptr [rbx+0B8h]                                           ; +0x16a, 0x1403c98ea\nmov     rcx, [rsi+240h]                                                ; +0x170, 0x1403c98f0\nmov     rax, [rcx]                                                     ; +0x177, 0x1403c98f7\nmov     rdx, rdi                                                       ; +0x17a, 0x1403c98fa\ncall    qword ptr [rax+1C0h]                                           ; +0x17d, 0x1403c98fd\ncall    cs:?create@CCArray@cocos2d@@SAPEAV12@XZ; cocos2d::CCArray::create(void) ; +0x183, 0x1403c9903\nmov     [rsi+280h], rax                                                ; +0x189, 0x1403c9909\nmov     rcx, rax                                                       ; +0x190, 0x1403c9910\ncall    cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x193, 0x1403c9913\ncall    cs:?create@CCArray@cocos2d@@SAPEAV12@XZ; cocos2d::CCArray::create(void) ; +0x199, 0x1403c9919\nmov     rbp, rax                                                       ; +0x19f, 0x1403c991f\ncall    cs:?create@CCMenu@cocos2d@@SAPEAV12@XZ; cocos2d::CCMenu::create(void) ; +0x1a2, 0x1403c9922\nmov     [rsi+220h], rax                                                ; +0x1a8, 0x1403c9928\nmov     rcx, [rsi+240h]                                                ; +0x1af, 0x1403c992f\nmov     r9, [rcx]                                                      ; +0x1b6, 0x1403c9936\nmov     r8d, 0Ah                                                       ; +0x1b9, 0x1403c9939\nmov     rdx, rax                                                       ; +0x1bf, 0x1403c993f\ncall    qword ptr [r9+1B8h]                                            ; +0x1c2, 0x1403c9942\nxor     edi, edi                                                       ; +0x1c9, 0x1403c9949\nlea     r15, RateLevelLayer__selectRating                              ; +0x1cb, 0x1403c994b\nmovss   xmm6, cs:flt_140622C24                                         ; +0x1d2, 0x1403c9952\nnop     word ptr [rax+rax+00h]                                         ; +0x1da, 0x1403c995a\nmov     edx, edi                                                       ; +0x1e0, 0x1403c9960\nlea     rcx, aDifficulty02dB; \"difficulty_%02d_btn_001.png\"            ; +0x1e2, 0x1403c9962\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x1e9, 0x1403c9969\nmov     rcx, rax                                                       ; +0x1ef, 0x1403c996f\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x1f2, 0x1403c9972\nlea     rcx, aDifficultyAuto; \"difficulty_auto_btn_001.png\"            ; +0x1f8, 0x1403c9978\ntest    edi, edi                                                       ; +0x1ff, 0x1403c997f\ncmovnz  rcx, rax                                                       ; +0x201, 0x1403c9981\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x205, 0x1403c9985\nmov     r14, rax                                                       ; +0x20b, 0x1403c998b\nmov     rdx, rax                                                       ; +0x20e, 0x1403c998e\nmov     rcx, [rsi+280h]                                                ; +0x211, 0x1403c9991\ncall    cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x218, 0x1403c9998\nmov     rdx, [r14]                                                     ; +0x21e, 0x1403c999e\nmovaps  xmm1, xmm6                                                     ; +0x221, 0x1403c99a1\nmov     rcx, r14                                                       ; +0x224, 0x1403c99a4\ncall    qword ptr [rdx+0A0h]                                           ; +0x227, 0x1403c99a7\nmov     ecx, 208h; Size                                                ; +0x22d, 0x1403c99ad\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x232, 0x1403c99b2\nmov     [rsp+0A8h+arg_18], rax                                         ; +0x237, 0x1403c99b7\nmov     rcx, rax                                                       ; +0x23f, 0x1403c99bf\ncall    CCMenuItemSpriteExtra__CCMenuItemSpriteExtra                   ; +0x242, 0x1403c99c2\nmov     rbx, rax                                                       ; +0x247, 0x1403c99c7\ntest    rax, rax                                                       ; +0x24a, 0x1403c99ca\njz      short loc_1403C99FF                                            ; +0x24d, 0x1403c99cd\nmov     [rsp+0A8h+var_88], r15                                         ; +0x24f, 0x1403c99cf\nmov     r9, rsi                                                        ; +0x254, 0x1403c99d4\nxor     r8d, r8d                                                       ; +0x257, 0x1403c99d7\nmov     rdx, r14                                                       ; +0x25a, 0x1403c99da\nmov     rcx, rax                                                       ; +0x25d, 0x1403c99dd\ncall    CCMenuItemSpriteExtra__init                                    ; +0x260, 0x1403c99e0\nmov     rcx, rbx                                                       ; +0x265, 0x1403c99e5\ntest    al, al                                                         ; +0x268, 0x1403c99e8\njz      short loc_1403C99F4                                            ; +0x26a, 0x1403c99ea\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x26c, 0x1403c99ec\njmp     short loc_1403C9A01                                            ; +0x272, 0x1403c99f2\nmov     rax, [rbx]                                                     ; +0x274, 0x1403c99f4\nmov     edx, 1                                                         ; +0x277, 0x1403c99f7\ncall    qword ptr [rax+8]                                              ; +0x27c, 0x1403c99fc\nxor     ebx, ebx                                                       ; +0x27f, 0x1403c99ff\nmov     rax, [rbx]                                                     ; +0x281, 0x1403c9a01\nmov     edx, edi                                                       ; +0x284, 0x1403c9a04\nmov     rcx, rbx                                                       ; +0x286, 0x1403c9a06\ncall    qword ptr [rax+40h]                                            ; +0x289, 0x1403c9a09\nmov     rcx, [rsi+220h]                                                ; +0x28c, 0x1403c9a0c\nmov     rax, [rcx]                                                     ; +0x293, 0x1403c9a13\nmov     rdx, rbx                                                       ; +0x296, 0x1403c9a16\ncall    qword ptr [rax+1C0h]                                           ; +0x299, 0x1403c9a19\nmov     rdx, rbx                                                       ; +0x29f, 0x1403c9a1f\nmov     rcx, rbp                                                       ; +0x2a2, 0x1403c9a22\ncall    cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x2a5, 0x1403c9a25\ninc     edi                                                            ; +0x2ab, 0x1403c9a2b\ncmp     edi, 6                                                         ; +0x2ad, 0x1403c9a2d\njle     loc_1403C9960                                                  ; +0x2b0, 0x1403c9a30\nmovss   xmm2, [rsp+0A8h+arg_14]                                        ; +0x2b6, 0x1403c9a36\nmulss   xmm2, xmm7                                                     ; +0x2bf, 0x1403c9a3f\nmovss   xmm1, [rsp+0A8h+arg_10]                                        ; +0x2c3, 0x1403c9a43\nmulss   xmm1, xmm7                                                     ; +0x2cc, 0x1403c9a4c\nlea     rcx, [rsp+0A8h+arg_18]                                         ; +0x2d0, 0x1403c9a50\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x2d8, 0x1403c9a58\nmov     r8, rax                                                        ; +0x2de, 0x1403c9a5e\nlea     rdx, [rsp+0A8h+var_68]                                         ; +0x2e1, 0x1403c9a61\nmov     rcx, [rsi+220h]                                                ; +0x2e6, 0x1403c9a66\ncall    cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x2ed, 0x1403c9a6d\nmov     r8, rax                                                        ; +0x2f3, 0x1403c9a73\nxor     r9d, r9d                                                       ; +0x2f6, 0x1403c9a76\nmovss   xmm1, cs:dword_1406230F8                                       ; +0x2f9, 0x1403c9a79\nmov     rcx, rbp                                                       ; +0x301, 0x1403c9a81\ncall    GameToolbox__alignItemsHorisontally                            ; +0x304, 0x1403c9a84\nmov     rcx, rbp                                                       ; +0x309, 0x1403c9a89\ncall    cs:?removeAllObjects@CCArray@cocos2d@@QEAAXXZ; cocos2d::CCArray::removeAllObjects(void) ; +0x30c, 0x1403c9a8c\nmovss   [rsp+0A8h+var_70], xmm8                                        ; +0x312, 0x1403c9a92\nlea     r14, aGjButton01Png; \"GJ_button_01.png\"                        ; +0x319, 0x1403c9a99\nmov     [rsp+0A8h+var_78], r14                                         ; +0x320, 0x1403c9aa0\nlea     r15, aGoldfontFnt; \"goldFont.fnt\"                              ; +0x325, 0x1403c9aa5\nmov     [rsp+0A8h+var_80], r15                                         ; +0x32c, 0x1403c9aac\nmov     byte ptr [rsp+0A8h+var_88], 0                                  ; +0x331, 0x1403c9ab1\nmovaps  xmm3, xmm6                                                     ; +0x336, 0x1403c9ab6\nxor     r8d, r8d                                                       ; +0x339, 0x1403c9ab9\nxor     edx, edx                                                       ; +0x33c, 0x1403c9abc\nlea     rcx, aCancel; \"Cancel\"                                         ; +0x33e, 0x1403c9abe\ncall    ButtonSprite__create_1                                         ; +0x345, 0x1403c9ac5\nmov     rdi, rax                                                       ; +0x34a, 0x1403c9aca\nmov     ecx, 208h; Size                                                ; +0x34d, 0x1403c9acd\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x352, 0x1403c9ad2\nmov     [rsp+0A8h+arg_18], rax                                         ; +0x357, 0x1403c9ad7\nmov     rcx, rax                                                       ; +0x35f, 0x1403c9adf\ncall    CCMenuItemSpriteExtra__CCMenuItemSpriteExtra                   ; +0x362, 0x1403c9ae2\nmov     rbx, rax                                                       ; +0x367, 0x1403c9ae7\ntest    rax, rax                                                       ; +0x36a, 0x1403c9aea\njz      short loc_1403C9B26                                            ; +0x36d, 0x1403c9aed\nlea     rax, RateLevelLayer__onClose                                   ; +0x36f, 0x1403c9aef\nmov     [rsp+0A8h+var_88], rax                                         ; +0x376, 0x1403c9af6\nmov     r9, rsi                                                        ; +0x37b, 0x1403c9afb\nxor     r8d, r8d                                                       ; +0x37e, 0x1403c9afe\nmov     rdx, rdi                                                       ; +0x381, 0x1403c9b01\nmov     rcx, rbx                                                       ; +0x384, 0x1403c9b04\ncall    CCMenuItemSpriteExtra__init                                    ; +0x387, 0x1403c9b07\nmov     rcx, rbx                                                       ; +0x38c, 0x1403c9b0c\ntest    al, al                                                         ; +0x38f, 0x1403c9b0f\njz      short loc_1403C9B1B                                            ; +0x391, 0x1403c9b11\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x393, 0x1403c9b13\njmp     short loc_1403C9B28                                            ; +0x399, 0x1403c9b19\nmov     rax, [rbx]                                                     ; +0x39b, 0x1403c9b1b\nmov     edx, 1                                                         ; +0x39e, 0x1403c9b1e\ncall    qword ptr [rax+8]                                              ; +0x3a3, 0x1403c9b23\nxor     ebx, ebx                                                       ; +0x3a6, 0x1403c9b26\nmov     rcx, [rsi+220h]                                                ; +0x3a8, 0x1403c9b28\nmov     rax, [rcx]                                                     ; +0x3af, 0x1403c9b2f\nmov     rdx, rbx                                                       ; +0x3b2, 0x1403c9b32\ncall    qword ptr [rax+1C0h]                                           ; +0x3b5, 0x1403c9b35\nmov     rdx, rbx                                                       ; +0x3bb, 0x1403c9b3b\nmov     rcx, rbp                                                       ; +0x3be, 0x1403c9b3e\ncall    cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x3c1, 0x1403c9b41\nmovss   [rsp+0A8h+var_70], xmm8                                        ; +0x3c7, 0x1403c9b47\nmov     [rsp+0A8h+var_78], r14                                         ; +0x3ce, 0x1403c9b4e\nmov     [rsp+0A8h+var_80], r15                                         ; +0x3d3, 0x1403c9b53\nmov     byte ptr [rsp+0A8h+var_88], 0                                  ; +0x3d8, 0x1403c9b58\nmovaps  xmm3, xmm6                                                     ; +0x3dd, 0x1403c9b5d\nxor     r8d, r8d                                                       ; +0x3e0, 0x1403c9b60\nxor     edx, edx                                                       ; +0x3e3, 0x1403c9b63\nlea     rcx, aSubmit; \"Submit\"                                         ; +0x3e5, 0x1403c9b65\ncall    ButtonSprite__create_1                                         ; +0x3ec, 0x1403c9b6c\nmov     rdi, rax                                                       ; +0x3f1, 0x1403c9b71\nmov     ecx, 208h; Size                                                ; +0x3f4, 0x1403c9b74\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x3f9, 0x1403c9b79\nmov     [rsp+0A8h+arg_18], rax                                         ; +0x3fe, 0x1403c9b7e\nmov     rcx, rax                                                       ; +0x406, 0x1403c9b86\ncall    CCMenuItemSpriteExtra__CCMenuItemSpriteExtra                   ; +0x409, 0x1403c9b89\nmov     rbx, rax                                                       ; +0x40e, 0x1403c9b8e\ntest    rax, rax                                                       ; +0x411, 0x1403c9b91\njz      short loc_1403C9BCD                                            ; +0x414, 0x1403c9b94\nlea     rax, RateLevelLayer__onRate                                    ; +0x416, 0x1403c9b96\nmov     [rsp+0A8h+var_88], rax                                         ; +0x41d, 0x1403c9b9d\nmov     r9, rsi                                                        ; +0x422, 0x1403c9ba2\nxor     r8d, r8d                                                       ; +0x425, 0x1403c9ba5\nmov     rdx, rdi                                                       ; +0x428, 0x1403c9ba8\nmov     rcx, rbx                                                       ; +0x42b, 0x1403c9bab\ncall    CCMenuItemSpriteExtra__init                                    ; +0x42e, 0x1403c9bae\nmov     rcx, rbx                                                       ; +0x433, 0x1403c9bb3\ntest    al, al                                                         ; +0x436, 0x1403c9bb6\njz      short loc_1403C9BC2                                            ; +0x438, 0x1403c9bb8\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x43a, 0x1403c9bba\njmp     short loc_1403C9BCF                                            ; +0x440, 0x1403c9bc0\nmov     rax, [rbx]                                                     ; +0x442, 0x1403c9bc2\nmov     edx, 1                                                         ; +0x445, 0x1403c9bc5\ncall    qword ptr [rax+8]                                              ; +0x44a, 0x1403c9bca\nxor     ebx, ebx                                                       ; +0x44d, 0x1403c9bcd\nmov     [rsi+278h], rbx                                                ; +0x44f, 0x1403c9bcf\nmov     rcx, [rsi+220h]                                                ; +0x456, 0x1403c9bd6\nmov     rax, [rcx]                                                     ; +0x45d, 0x1403c9bdd\nmov     rdx, rbx                                                       ; +0x460, 0x1403c9be0\ncall    qword ptr [rax+1C0h]                                           ; +0x463, 0x1403c9be3\nmov     rdx, [rsi+278h]                                                ; +0x469, 0x1403c9be9\nmov     rcx, rbp                                                       ; +0x470, 0x1403c9bf0\ncall    cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x473, 0x1403c9bf3\nmovss   xmm2, [rsp+0A8h+arg_14]                                        ; +0x479, 0x1403c9bf9\nmulss   xmm2, xmm7                                                     ; +0x482, 0x1403c9c02\nsubss   xmm2, cs:dword_140623294                                       ; +0x486, 0x1403c9c06\naddss   xmm2, cs:dword_140623144                                       ; +0x48e, 0x1403c9c0e\nmovss   xmm1, [rsp+0A8h+arg_10]                                        ; +0x496, 0x1403c9c16\nmulss   xmm1, xmm7                                                     ; +0x49f, 0x1403c9c1f\nlea     rcx, [rsp+0A8h+arg_18]                                         ; +0x4a3, 0x1403c9c23\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x4ab, 0x1403c9c2b\nmov     r8, rax                                                        ; +0x4b1, 0x1403c9c31\nlea     rdx, [rsp+0A8h+var_68]                                         ; +0x4b4, 0x1403c9c34\nmov     rcx, [rsi+220h]                                                ; +0x4b9, 0x1403c9c39\ncall    cs:?convertToNodeSpace@CCNode@cocos2d@@QEAA?AVCCPoint@2@AEBV32@@Z; cocos2d::CCNode::convertToNodeSpace(cocos2d::CCPoint const &) ; +0x4c0, 0x1403c9c40\nmov     r8, rax                                                        ; +0x4c6, 0x1403c9c46\nxor     r9d, r9d                                                       ; +0x4c9, 0x1403c9c49\nmovss   xmm1, cs:dword_1406230E0                                       ; +0x4cc, 0x1403c9c4c\nmov     rcx, rbp                                                       ; +0x4d4, 0x1403c9c54\ncall    GameToolbox__alignItemsHorisontally                            ; +0x4d7, 0x1403c9c57\nxor     edx, edx                                                       ; +0x4dc, 0x1403c9c5c\nmov     rcx, rsi                                                       ; +0x4de, 0x1403c9c5e\ncall    RateLevelLayer__selectRating                                   ; +0x4e1, 0x1403c9c61\nmov     al, 1                                                          ; +0x4e6, 0x1403c9c66\nmov     rbx, [rsp+0A8h+arg_0]                                          ; +0x4e8, 0x1403c9c68\nmovaps  xmm6, [rsp+0A8h+var_38]                                        ; +0x4f0, 0x1403c9c70\nmovaps  xmm7, [rsp+0A8h+var_48]                                        ; +0x4f5, 0x1403c9c75\nmovaps  xmm8, [rsp+0A8h+var_58]                                        ; +0x4fa, 0x1403c9c7a\nadd     rsp, 80h                                                       ; +0x500, 0x1403c9c80\npop     r15                                                            ; +0x507, 0x1403c9c87\npop     r14                                                            ; +0x509, 0x1403c9c89\npop     rdi                                                            ; +0x50b, 0x1403c9c8b\npop     rsi                                                            ; +0x50c, 0x1403c9c8c\npop     rbp                                                            ; +0x50d, 0x1403c9c8d\nretn                                                                   ; +0x50e, 0x1403c9c8e", "xrefs": ["LevelInfoLayer::onRate @ 0x1402fe1af", "<???> @ 0x1406d7a30"], "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"}