{"type": "func", "start": 5371308816, "end": 5371310620, "name": "GJItemIcon::init", "pseudocode": "// \n// GJItemIcon::init from 0x14027ab10 to 0x14027b21c (1804 bytes)\n// \n// 10 xrefs:\n// > AchievementBar::init @ 0x140081701\n// > CommunityCreditsPage::init @ 0x140095850\n// > AchievementCell::loadFromDict @ 0x1400ad732\n// > GJItemIcon::createStoreItem @ 0x14027a9a4\n// > GJItemIcon::createBrowserItem @ 0x14027aacb\n// > GJPathPage::init @ 0x14028656b\n// > RewardUnlockLayer::playRewardEffect @ 0x1403cf8e1\n// > RewardUnlockLayer::playRewardEffect @ 0x1403d00b6\n// > ShardsPage::init @ 0x14048c06b\n// > <???> @ 0x1406d1100\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n// Hidden C++ exception states: #wind=5\nbool GJItemIcon::init(\n        GJItemIcon *a1,\n        UnlockType a2,\n        int a3,\n        cocos2d::ccColor3B *a4,\n        cocos2d::ccColor3B *a5,\n        bool a6,\n        bool a7,\n        bool a8,\n        cocos2d::ccColor3B *a9)\n{\n  bool result; // al\n  __int64 v14; // rdx\n  int v15; // ecx\n  float v16; // xmm0_4\n  __int16 v17; // ax\n  GameManager *v18; // rcx\n  SimplePlayer *v19; // rsi\n  __int64 v20; // rdi\n  __int64 v21; // r8\n  __int64 v22; // rax\n  struct cocos2d::CCSprite *v23; // rax\n  cocos2d::ccColor3B *v24; // rcx\n  __int16 *v25; // rcx\n  struct cocos2d::CCLabelBMFont *v26; // rdi\n  cocos2d::CCLabelBMFont_vtbl *v27; // rbx\n  float *v28; // rax\n  const cocos2d::CCPoint *v29; // rax\n  cocos2d::CCString *v30; // rax\n  const char *CString; // rax\n  __int64 v32; // rdx\n  float v33; // xmm0_4\n  SimplePlayer_vtbl *v34; // rbx\n  const cocos2d::CCPoint *v35; // rax\n  void *v36; // rcx\n  void *v37; // [rsp+20h] [rbp-61h] BYREF\n  cocos2d::CCSize v38; // [rsp+28h] [rbp-59h] BYREF\n  void *v39; // [rsp+30h] [rbp-51h]\n  void *Block[2]; // [rsp+38h] [rbp-49h] BYREF\n  __int64 v41; // [rsp+48h] [rbp-39h]\n  unsigned __int64 v42; // [rsp+50h] [rbp-31h]\n\n  result = cocos2d::CCSprite::init(a1);\n  if ( result )\n  {\n    a1->m_unlockID = a3;\n    a1->m_unlockType = a2;\n    v14 = qword_1406C2ED8;\n    if ( !qword_1406C2ED8 )\n    {\n      v37 = operator new(0x668u);\n      qword_1406C2ED8 = sub_14017AB00((__int64)v37);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n      v14 = qword_1406C2ED8;\n    }\n    v15 = *(_DWORD *)(v14 + 1176);\n    *(_DWORD *)(v14 + 1176) = v15 + 1;\n    a1->m_iconRequestID = v15;\n    a1->setTextureRect_0(a1, &stru_1406C1DF0);\n    cocos2d::CCSize::CCSize(&v38, 30.0, 30.0);\n    cocos2d::CCSize::operator=(&a1->m_playerSize, &v38);\n    a1->setContentSize(a1, &v38);\n    v16 = 0.0;\n    *(_OWORD *)Block = 0;\n    v42 = 15;\n    LOBYTE(Block[0]) = 0;\n    switch ( a2 )\n    {\n      case 4:\n        v41 = 4;\n        strcpy((char *)Block, \"ship\");\n        goto LABEL_19;\n      case 5:\n        v41 = 11;\n        v16 = 7.3154135e34;\n        strcpy((char *)Block, \"player_ball\");\n        goto LABEL_19;\n      case 6:\n        v41 = 4;\n        strcpy((char *)Block, \"bird\");\n        goto LABEL_19;\n      case 7:\n        v41 = 4;\n        strcpy((char *)Block, \"dart\");\n        goto LABEL_19;\n      case 8:\n        v41 = 5;\n        strcpy((char *)Block, \"robot\");\n        goto LABEL_19;\n      case 9:\n        LODWORD(Block[0]) = 1684631667;\n        v17 = 29285;\n        goto LABEL_18;\n      case 10:\n        v41 = 14;\n        v16 = 7.3154135e34;\n        strcpy((char *)Block, \"player_special\");\n        goto LABEL_19;\n      case 11:\n        v41 = 13;\n        v16 = 1.162843e27;\n        strcpy((char *)Block, \"explosionIcon\");\n        goto LABEL_19;\n      case 12:\n        LODWORD(Block[0]) = 1950968423;\n        v17 = 28005;\n        goto LABEL_18;\n      case 13:\n        v41 = 5;\n        strcpy((char *)Block, \"swing\");\n        goto LABEL_19;\n      case 14:\n        v41 = 7;\n        Block[0] = (void *)0x6B63617074656ALL;\n        goto LABEL_19;\n      case 15:\n        v41 = 12;\n        v16 = 2.8894511e29;\n        strcpy((char *)Block, \"shipfireIcon\");\n        goto LABEL_19;\n      default:\n        LODWORD(Block[0]) = 2036427888;\n        v17 = 29285;\nLABEL_18:\n        v41 = 6;\n        WORD2(Block[0]) = v17;\n        BYTE6(Block[0]) = 0;\nLABEL_19:\n        switch ( a2 )\n        {\n          case 1:\n          case 4:\n          case 5:\n          case 6:\n          case 7:\n          case 8:\n          case 9:\n          case 13:\n          case 14:\n            a1->m_isIcon = 1;\n            v19 = SimplePlayer::create(1);\n            if ( !qword_1406C2ED8 )\n            {\n              v37 = operator new(0x668u);\n              qword_1406C2ED8 = sub_14017AB00((__int64)v37);\n              (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n            }\n            v20 = GameManager::unlockTypeToIconType(v18, a2);\n            if ( !v21 )\n            {\n              v37 = operator new(0x668u);\n              qword_1406C2ED8 = sub_14017AB00((__int64)v37);\n              (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n              v21 = qword_1406C2ED8;\n            }\n            LODWORD(v37) = a3 + *(_DWORD *)(*(_QWORD *)(v21 + 1136) + 4 * v20) - 1;\n            sub_14012CE70((__int64 *)(v21 + 1088), (int *)&v37);\n            SimplePlayer::updatePlayerFrame(v19, a3, (IconType)v20);\n            v19->m_firstLayer->setColor(&v19->m_firstLayer->cocos2d::CCRGBAProtocol, a4);\n            v19->m_secondLayer->setColor(&v19->m_secondLayer->cocos2d::CCRGBAProtocol, a5);\n            SimplePlayer::updateColors(v19);\n            v22 = (__int64)v19->m_firstLayer->getContentSize(v19->m_firstLayer);\n            cocos2d::CCSize::operator=(&a1->m_playerSize, v22);\n            break;\n          case 2:\n          case 3:\n            v23 = cocos2d::CCSprite::createWithSpriteFrameName(\"player_special_01_001.png\");\n            v19 = (SimplePlayer *)v23;\n            if ( a6 )\n              goto LABEL_36;\n            v24 = (cocos2d::ccColor3B *)qword_1406C2ED8;\n            if ( !qword_1406C2ED8 )\n            {\n              v39 = operator new(0x668u);\n              qword_1406C2ED8 = sub_14017AB00((__int64)v39);\n              (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n              v24 = (cocos2d::ccColor3B *)qword_1406C2ED8;\n            }\n            GameManager::colorForIdx(v24, (GameManager *)&v37, a3);\n            v19->setColor(&v19->cocos2d::CCRGBAProtocol, (const cocos2d::ccColor3B *)&v37);\n            if ( !a8 )\n            {\n              v25 = &word_140531EA0;\n              if ( a2 == Col1 )\n                v25 = &word_140531EA4;\n              v26 = cocos2d::CCLabelBMFont::create((const char *)v25, (const char *)&qword_14052A4D8);\n              ((void (__fastcall *)(struct cocos2d::CCLabelBMFont *))v26->setScale_0)(v26);\n              v26->setColor(&v26->cocos2d::CCRGBAProtocol, (const cocos2d::ccColor3B *)&v37);\n              v19->addChild_0(v19, v26, 1);\n              v27 = v26->cocos2d::CCSpriteBatchNode::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n              v19->getContentSize(v19);\n              v28 = (float *)v19->getContentSize(v19);\n              cocos2d::CCPoint::CCPoint(v16, *v28 * 0.5);\n              v27->setPosition_0(v26, v29);\n            }\n            break;\n          default:\n            if ( a1->m_unlockType == GJItem && (unsigned int)(a3 - 6) <= 9 )\n            {\n              v19 = (SimplePlayer *)GJPathSprite::create(a3 - 5);\n            }\n            else\n            {\n              v30 = cocos2d::CCString::createWithFormat(\"%s_%02d_001.png\", (const char *)Block, a3);\n              CString = cocos2d::CCString::getCString(v30);\n              v23 = cocos2d::CCSprite::createWithSpriteFrameName(CString);\n              v19 = (SimplePlayer *)v23;\n              if ( a6 )\n              {\nLABEL_36:\n                v23->setColor(&v23->cocos2d::CCRGBAProtocol, &stru_140529AB8);\n                LOBYTE(v32) = 120;\n                v19->setOpacity(&v19->cocos2d::CCRGBAProtocol, v32);\n              }\n            }\n            break;\n        }\n        v33 = ((float (__fastcall *)(GJItemIcon *, SimplePlayer *))a1->addChild_1)(a1, v19);\n        v34 = v19->cocos2d::CCSprite::cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n        cocos2d::CCPoint::CCPoint(v33, v38.width * 0.5);\n        v34->setPosition_0(v19, v35);\n        a1->m_player = v19;\n        if ( v42 > 0xF )\n        {\n          v36 = Block[0];\n          if ( v42 + 1 >= 0x1000 )\n          {\n            v36 = *((void **)Block[0] - 1);\n            if ( (unsigned __int64)((char *)Block[0] - (char *)v36 - 8) > 0x1F )\n              invalid_parameter_noinfo_noreturn();\n          }\n          j_j_free(v36);\n        }\n        result = 1;\n        break;\n    }\n  }\n  return result;\n}", "assembly": "; \n; GJItemIcon::init from 0x14027ab10 to 0x14027b21c (1804 bytes)\n; \n; 10 xrefs:\n; > AchievementBar::init @ 0x140081701\n; > CommunityCreditsPage::init @ 0x140095850\n; > AchievementCell::loadFromDict @ 0x1400ad732\n; > GJItemIcon::createStoreItem @ 0x14027a9a4\n; > GJItemIcon::createBrowserItem @ 0x14027aacb\n; > GJPathPage::init @ 0x14028656b\n; > RewardUnlockLayer::playRewardEffect @ 0x1403cf8e1\n; > RewardUnlockLayer::playRewardEffect @ 0x1403d00b6\n; > ShardsPage::init @ 0x14048c06b\n; > <???> @ 0x1406d1100\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, 0x14027ab10\npush    rbx                                                            ; +0x2, 0x14027ab12\npush    rsi                                                            ; +0x3, 0x14027ab13\npush    rdi                                                            ; +0x4, 0x14027ab14\npush    r12                                                            ; +0x5, 0x14027ab15\npush    r13                                                            ; +0x7, 0x14027ab17\npush    r14                                                            ; +0x9, 0x14027ab19\npush    r15                                                            ; +0xb, 0x14027ab1b\nlea     rbp, [rsp-7]                                                   ; +0xd, 0x14027ab1d\nsub     rsp, 88h                                                       ; +0x12, 0x14027ab22\nmovaps  [rsp+0C0h+var_50], xmm6                                        ; +0x19, 0x14027ab29\nmovaps  [rsp+0C0h+var_60], xmm7                                        ; +0x1e, 0x14027ab2e\nmov     rax, cs:__security_cookie                                      ; +0x23, 0x14027ab33\nxor     rax, rsp                                                       ; +0x2a, 0x14027ab3a\nmov     [rbp+3Fh+var_68], rax                                          ; +0x2d, 0x14027ab3d\nmov     r12, r9                                                        ; +0x31, 0x14027ab41\nmov     ebx, r8d                                                       ; +0x34, 0x14027ab44\nmov     edi, edx                                                       ; +0x37, 0x14027ab47\nmov     r14, rcx                                                       ; +0x39, 0x14027ab49\nmov     r13, [rbp+3Fh+arg_20]                                          ; +0x3c, 0x14027ab4c\ncall    cs:__imp_?init@CCSprite@cocos2d@@UEAA_NXZ; cocos2d::CCSprite::init(void) ; +0x40, 0x14027ab50\ntest    al, al                                                         ; +0x46, 0x14027ab56\njz      loc_14027B17B                                                  ; +0x48, 0x14027ab58\nmov     [r14+270h], ebx                                                ; +0x4e, 0x14027ab5e\nmov     [r14+274h], edi                                                ; +0x55, 0x14027ab65\nmov     rdx, cs:qword_1406C2ED8                                        ; +0x5c, 0x14027ab6c\ntest    rdx, rdx                                                       ; +0x63, 0x14027ab73\njnz     short loc_14027ABA6                                            ; +0x66, 0x14027ab76\nmov     ecx, 668h; Size                                                ; +0x68, 0x14027ab78\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x6d, 0x14027ab7d\nmov     [rbp+3Fh+var_A0], rax                                          ; +0x72, 0x14027ab82\nmov     rcx, rax                                                       ; +0x76, 0x14027ab86\ncall    sub_14017AB00                                                  ; +0x79, 0x14027ab89\nnop                                                                    ; +0x7e, 0x14027ab8e\nmov     cs:qword_1406C2ED8, rax                                        ; +0x7f, 0x14027ab8f\nmov     rdx, [rax]                                                     ; +0x86, 0x14027ab96\nmov     rcx, rax                                                       ; +0x89, 0x14027ab99\ncall    qword ptr [rdx+48h]                                            ; +0x8c, 0x14027ab9c\nmov     rdx, cs:qword_1406C2ED8                                        ; +0x8f, 0x14027ab9f\nmov     ecx, [rdx+498h]                                                ; +0x96, 0x14027aba6\nlea     eax, [rcx+1]                                                   ; +0x9c, 0x14027abac\nmov     [rdx+498h], eax                                                ; +0x9f, 0x14027abaf\nmov     [r14+260h], ecx                                                ; +0xa5, 0x14027abb5\nmov     rax, [r14]                                                     ; +0xac, 0x14027abbc\nlea     rdx, stru_1406C1DF0                                            ; +0xaf, 0x14027abbf\nmov     rcx, r14                                                       ; +0xb6, 0x14027abc6\ncall    qword ptr [rax+3D0h]                                           ; +0xb9, 0x14027abc9\nmovss   xmm1, cs:dword_140623164                                       ; +0xbf, 0x14027abcf\nmovaps  xmm2, xmm1                                                     ; +0xc7, 0x14027abd7\nlea     rcx, [rbp+3Fh+var_98]                                          ; +0xca, 0x14027abda\ncall    cs:??0CCSize@cocos2d@@QEAA@MM@Z; cocos2d::CCSize::CCSize(float,float) ; +0xce, 0x14027abde\nlea     rdx, [rbp+3Fh+var_98]                                          ; +0xd4, 0x14027abe4\nlea     rcx, [r14+264h]                                                ; +0xd8, 0x14027abe8\ncall    cs:??4CCSize@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCSize::operator=(cocos2d::CCSize const &) ; +0xdf, 0x14027abef\nmov     rax, [r14]                                                     ; +0xe5, 0x14027abf5\nlea     rdx, [rbp+3Fh+var_98]                                          ; +0xe8, 0x14027abf8\nmov     rcx, r14                                                       ; +0xec, 0x14027abfc\ncall    qword ptr [rax+128h]                                           ; +0xef, 0x14027abff\nxorps   xmm0, xmm0                                                     ; +0xf5, 0x14027ac05\nmovups  xmmword ptr [rbp+3Fh+Block], xmm0                              ; +0xf8, 0x14027ac08\nmov     r9d, 0Fh                                                       ; +0xfc, 0x14027ac0c\nmov     [rbp+3Fh+var_70], r9                                           ; +0x102, 0x14027ac12\nmov     byte ptr [rbp+3Fh+Block], 0                                    ; +0x106, 0x14027ac16\nlea     edx, [rdi-1]; switch 15 cases                                  ; +0x10a, 0x14027ac1a\nlea     r8, cs:140000000h                                              ; +0x10d, 0x14027ac1d\ncmp     edx, 0Eh                                                       ; +0x114, 0x14027ac24\nja      def_14027AC3B; jumptable 000000014027AC3B default case, cases 1-3 ; +0x117, 0x14027ac27\nmovsxd  rax, edx                                                       ; +0x11d, 0x14027ac2d\nmov     ecx, ds:(jpt_14027AC3B - 140000000h)[r8+rax*4]                 ; +0x120, 0x14027ac30\nadd     rcx, r8                                                        ; +0x128, 0x14027ac38\njmp     rcx; switch jump                                               ; +0x12b, 0x14027ac3b\nmov     [rbp+3Fh+var_78], 4; jumptable 000000014027AC3B case 4         ; +0x12d, 0x14027ac3d\nmov     eax, cs:dword_14053B9EC                                        ; +0x135, 0x14027ac45\nmov     dword ptr [rbp+3Fh+Block], eax                                 ; +0x13b, 0x14027ac4b\nmov     byte ptr [rbp+3Fh+Block+4], 0                                  ; +0x13e, 0x14027ac4e\njmp     loc_14027AE01                                                  ; +0x142, 0x14027ac52\nmov     [rbp+3Fh+var_78], 0Bh; jumptable 000000014027AC3B case 5       ; +0x147, 0x14027ac57\nmovsd   xmm0, cs:qword_140569930                                       ; +0x14f, 0x14027ac5f\nmovsd   [rbp+3Fh+Block], xmm0                                          ; +0x157, 0x14027ac67\nmovzx   eax, cs:word_140569938                                         ; +0x15c, 0x14027ac6c\nmov     word ptr [rbp+3Fh+Block+8], ax                                 ; +0x163, 0x14027ac73\nmovzx   eax, cs:byte_14056993A                                         ; +0x167, 0x14027ac77\nmov     byte ptr [rbp+3Fh+Block+0Ah], al                               ; +0x16e, 0x14027ac7e\nmov     byte ptr [rbp+3Fh+Block+0Bh], 0                                ; +0x171, 0x14027ac81\njmp     loc_14027AE01                                                  ; +0x175, 0x14027ac85\nmov     [rbp+3Fh+var_78], 4; jumptable 000000014027AC3B case 6         ; +0x17a, 0x14027ac8a\nmov     eax, cs:dword_14053B9D0                                        ; +0x182, 0x14027ac92\nmov     dword ptr [rbp+3Fh+Block], eax                                 ; +0x188, 0x14027ac98\nmov     byte ptr [rbp+3Fh+Block+4], 0                                  ; +0x18b, 0x14027ac9b\njmp     loc_14027AE01                                                  ; +0x18f, 0x14027ac9f\nmov     [rbp+3Fh+var_78], 4; jumptable 000000014027AC3B case 7         ; +0x194, 0x14027aca4\nmov     eax, cs:dword_14053B9DC                                        ; +0x19c, 0x14027acac\nmov     dword ptr [rbp+3Fh+Block], eax                                 ; +0x1a2, 0x14027acb2\nmov     byte ptr [rbp+3Fh+Block+4], 0                                  ; +0x1a5, 0x14027acb5\njmp     loc_14027AE01                                                  ; +0x1a9, 0x14027acb9\nmov     [rbp+3Fh+var_78], 5; jumptable 000000014027AC3B case 8         ; +0x1ae, 0x14027acbe\nmov     eax, cs:dword_14053BA38                                        ; +0x1b6, 0x14027acc6\nmov     dword ptr [rbp+3Fh+Block], eax                                 ; +0x1bc, 0x14027accc\nmovzx   eax, cs:byte_14053BA3C                                         ; +0x1bf, 0x14027accf\nmov     byte ptr [rbp+3Fh+Block+4], al                                 ; +0x1c6, 0x14027acd6\nmov     byte ptr [rbp+3Fh+Block+5], 0                                  ; +0x1c9, 0x14027acd9\njmp     loc_14027AE01                                                  ; +0x1cd, 0x14027acdd\nmov     eax, cs:dword_14053BA48; jumptable 000000014027AC3B case 9     ; +0x1d2, 0x14027ace2\nmov     dword ptr [rbp+3Fh+Block], eax                                 ; +0x1d8, 0x14027ace8\nmovzx   eax, cs:word_14053BA4C                                         ; +0x1db, 0x14027aceb\njmp     loc_14027ADF1                                                  ; +0x1e2, 0x14027acf2\nmov     [rbp+3Fh+var_78], 5; jumptable 000000014027AC3B case 13        ; +0x1e7, 0x14027acf7\nmov     eax, cs:dword_14053BA60                                        ; +0x1ef, 0x14027acff\nmov     dword ptr [rbp+3Fh+Block], eax                                 ; +0x1f5, 0x14027ad05\nmovzx   eax, cs:byte_14053BA64                                         ; +0x1f8, 0x14027ad08\nmov     byte ptr [rbp+3Fh+Block+4], al                                 ; +0x1ff, 0x14027ad0f\nmov     byte ptr [rbp+3Fh+Block+5], 0                                  ; +0x202, 0x14027ad12\njmp     loc_14027AE01                                                  ; +0x206, 0x14027ad16\nmov     [rbp+3Fh+var_78], 7; jumptable 000000014027AC3B case 14        ; +0x20b, 0x14027ad1b\nmov     rax, cs:qword_14053BA70                                        ; +0x213, 0x14027ad23\nmov     dword ptr [rbp+3Fh+Block], eax                                 ; +0x21a, 0x14027ad2a\nmovzx   eax, word ptr cs:qword_14053BA70+4                             ; +0x21d, 0x14027ad2d\nmov     word ptr [rbp+3Fh+Block+4], ax                                 ; +0x224, 0x14027ad34\nmovzx   eax, byte ptr cs:qword_14053BA70+6                             ; +0x228, 0x14027ad38\nmov     byte ptr [rbp+3Fh+Block+6], al                                 ; +0x22f, 0x14027ad3f\nmov     byte ptr [rbp+3Fh+Block+7], 0                                  ; +0x232, 0x14027ad42\njmp     loc_14027AE01                                                  ; +0x236, 0x14027ad46\nmov     [rbp+3Fh+var_78], 0Eh; jumptable 000000014027AC3B case 10      ; +0x23b, 0x14027ad4b\nmovsd   xmm0, cs:qword_140569920                                       ; +0x243, 0x14027ad53\nmovsd   [rbp+3Fh+Block], xmm0                                          ; +0x24b, 0x14027ad5b\nmov     eax, cs:dword_140569928                                        ; +0x250, 0x14027ad60\nmov     dword ptr [rbp+3Fh+Block+8], eax                               ; +0x256, 0x14027ad66\nmovzx   eax, cs:word_14056992C                                         ; +0x259, 0x14027ad69\nmov     word ptr [rbp+3Fh+Block+0Ch], ax                               ; +0x260, 0x14027ad70\nmov     byte ptr [rbp+3Fh+Block+0Eh], 0                                ; +0x264, 0x14027ad74\njmp     loc_14027AE01                                                  ; +0x268, 0x14027ad78\nmov     [rbp+3Fh+var_78], 0Dh; jumptable 000000014027AC3B case 11      ; +0x26d, 0x14027ad7d\nmovsd   xmm0, cs:qword_140569890                                       ; +0x275, 0x14027ad85\nmovsd   [rbp+3Fh+Block], xmm0                                          ; +0x27d, 0x14027ad8d\nmov     eax, cs:dword_140569898                                        ; +0x282, 0x14027ad92\nmov     dword ptr [rbp+3Fh+Block+8], eax                               ; +0x288, 0x14027ad98\nmovzx   eax, cs:byte_14056989C                                         ; +0x28b, 0x14027ad9b\nmov     byte ptr [rbp+3Fh+Block+0Ch], al                               ; +0x292, 0x14027ada2\nmov     byte ptr [rbp+3Fh+Block+0Dh], 0                                ; +0x295, 0x14027ada5\njmp     short loc_14027AE01                                            ; +0x299, 0x14027ada9\nmov     [rbp+3Fh+var_78], 0Ch; jumptable 000000014027AC3B case 15      ; +0x29b, 0x14027adab\nmovsd   xmm0, cs:qword_1405698A0                                       ; +0x2a3, 0x14027adb3\nmovsd   [rbp+3Fh+Block], xmm0                                          ; +0x2ab, 0x14027adbb\nmov     eax, cs:dword_1405698A8                                        ; +0x2b0, 0x14027adc0\nmov     dword ptr [rbp+3Fh+Block+8], eax                               ; +0x2b6, 0x14027adc6\nmov     byte ptr [rbp+3Fh+Block+0Ch], 0                                ; +0x2b9, 0x14027adc9\njmp     short loc_14027AE01                                            ; +0x2bd, 0x14027adcd\nmov     eax, cs:dword_1405698B0; jumptable 000000014027AC3B case 12    ; +0x2bf, 0x14027adcf\nmov     dword ptr [rbp+3Fh+Block], eax                                 ; +0x2c5, 0x14027add5\nmovzx   eax, cs:word_1405698B4                                         ; +0x2c8, 0x14027add8\njmp     short loc_14027ADF1                                            ; +0x2cf, 0x14027addf\nmov     eax, cs:dword_14056993C; jumptable 000000014027AC3B default case, cases 1-3 ; +0x2d1, 0x14027ade1\nmov     dword ptr [rbp+3Fh+Block], eax                                 ; +0x2d7, 0x14027ade7\nmovzx   eax, cs:word_140569940                                         ; +0x2da, 0x14027adea\nmov     [rbp+3Fh+var_78], 6                                            ; +0x2e1, 0x14027adf1\nmov     word ptr [rbp+3Fh+Block+4], ax                                 ; +0x2e9, 0x14027adf9\nmov     byte ptr [rbp+3Fh+Block+6], 0                                  ; +0x2ed, 0x14027adfd\nmovss   xmm7, cs:dword_140622B08                                       ; +0x2f1, 0x14027ae01\ncmp     edx, 0Dh; switch 14 cases                                      ; +0x2f9, 0x14027ae09\nja      def_14027AE20; jumptable 000000014027AE20 default case, cases 9-11 ; +0x2fc, 0x14027ae0c\nmovsxd  rax, edx                                                       ; +0x302, 0x14027ae12\nmov     ecx, ds:(jpt_14027AE20 - 140000000h)[r8+rax*4]                 ; +0x305, 0x14027ae15\nadd     rcx, r8                                                        ; +0x30d, 0x14027ae1d\njmp     rcx; switch jump                                               ; +0x310, 0x14027ae20\nmov     byte ptr [r14+26Ch], 1; jumptable 000000014027AE20 cases 0,3-8,12,13 ; +0x312, 0x14027ae22\nmov     ecx, 1                                                         ; +0x31a, 0x14027ae2a\ncall    SimplePlayer__create                                           ; +0x31f, 0x14027ae2f\nmov     rsi, rax                                                       ; +0x324, 0x14027ae34\nmov     r8, cs:qword_1406C2ED8                                         ; +0x327, 0x14027ae37\ntest    r8, r8                                                         ; +0x32e, 0x14027ae3e\njnz     short loc_14027AE72                                            ; +0x331, 0x14027ae41\nmov     ecx, 668h; Size                                                ; +0x333, 0x14027ae43\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x338, 0x14027ae48\nmov     [rbp+3Fh+var_A0], rax                                          ; +0x33d, 0x14027ae4d\nmov     rcx, rax                                                       ; +0x341, 0x14027ae51\ncall    sub_14017AB00                                                  ; +0x344, 0x14027ae54\nnop                                                                    ; +0x349, 0x14027ae59\nmov     cs:qword_1406C2ED8, rax                                        ; +0x34a, 0x14027ae5a\nmov     r8, [rax]                                                      ; +0x351, 0x14027ae61\nmov     rcx, rax                                                       ; +0x354, 0x14027ae64\ncall    qword ptr [r8+48h]                                             ; +0x357, 0x14027ae67\nmov     r8, cs:qword_1406C2ED8                                         ; +0x35b, 0x14027ae6b\nmov     edx, edi                                                       ; +0x362, 0x14027ae72\ncall    GameManager__unlockTypeToIconType                              ; +0x364, 0x14027ae74\nmovsxd  rdi, eax                                                       ; +0x369, 0x14027ae79\ntest    r8, r8                                                         ; +0x36c, 0x14027ae7c\njnz     short loc_14027AEAF                                            ; +0x36f, 0x14027ae7f\nmov     ecx, 668h; Size                                                ; +0x371, 0x14027ae81\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x376, 0x14027ae86\nmov     [rbp+3Fh+var_A0], rax                                          ; +0x37b, 0x14027ae8b\nmov     rcx, rax                                                       ; +0x37f, 0x14027ae8f\ncall    sub_14017AB00                                                  ; +0x382, 0x14027ae92\nnop                                                                    ; +0x387, 0x14027ae97\nmov     cs:qword_1406C2ED8, rax                                        ; +0x388, 0x14027ae98\nmov     rdx, [rax]                                                     ; +0x38f, 0x14027ae9f\nmov     rcx, rax                                                       ; +0x392, 0x14027aea2\ncall    qword ptr [rdx+48h]                                            ; +0x395, 0x14027aea5\nmov     r8, cs:qword_1406C2ED8                                         ; +0x398, 0x14027aea8\nmov     rax, [r8+470h]                                                 ; +0x39f, 0x14027aeaf\nmov     ecx, [rax+rdi*4]                                               ; +0x3a6, 0x14027aeb6\ndec     ecx                                                            ; +0x3a9, 0x14027aeb9\nadd     ecx, ebx                                                       ; +0x3ab, 0x14027aebb\nmov     dword ptr [rbp+3Fh+var_A0], ecx                                ; +0x3ad, 0x14027aebd\nlea     rcx, [r8+440h]                                                 ; +0x3b0, 0x14027aec0\nlea     rdx, [rbp+3Fh+var_A0]                                          ; +0x3b7, 0x14027aec7\ncall    sub_14012CE70                                                  ; +0x3bb, 0x14027aecb\nmov     r8d, edi                                                       ; +0x3c0, 0x14027aed0\nmov     edx, ebx                                                       ; +0x3c3, 0x14027aed3\nmov     rcx, rsi                                                       ; +0x3c5, 0x14027aed5\ncall    SimplePlayer__updatePlayerFrame                                ; +0x3c8, 0x14027aed8\nmov     rcx, [rsi+258h]                                                ; +0x3cd, 0x14027aedd\nadd     rcx, 140h                                                      ; +0x3d4, 0x14027aee4\nmov     rax, [rcx]                                                     ; +0x3db, 0x14027aeeb\nmov     rdx, r12                                                       ; +0x3de, 0x14027aeee\ncall    qword ptr [rax]                                                ; +0x3e1, 0x14027aef1\nmov     rcx, [rsi+260h]                                                ; +0x3e3, 0x14027aef3\nadd     rcx, 140h                                                      ; +0x3ea, 0x14027aefa\nmov     rax, [rcx]                                                     ; +0x3f1, 0x14027af01\nmov     rdx, r13                                                       ; +0x3f4, 0x14027af04\ncall    qword ptr [rax]                                                ; +0x3f7, 0x14027af07\nmov     rcx, rsi                                                       ; +0x3f9, 0x14027af09\ncall    SimplePlayer__updateColors                                     ; +0x3fc, 0x14027af0c\nmov     rcx, [rsi+258h]                                                ; +0x401, 0x14027af11\nmov     rax, [rcx]                                                     ; +0x408, 0x14027af18\ncall    qword ptr [rax+130h]                                           ; +0x40b, 0x14027af1b\nmov     rdx, rax                                                       ; +0x411, 0x14027af21\nlea     rcx, [r14+264h]                                                ; +0x414, 0x14027af24\ncall    cs:??4CCSize@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCSize::operator=(cocos2d::CCSize const &) ; +0x41b, 0x14027af2b\njmp     loc_14027B0FA                                                  ; +0x421, 0x14027af31\nlea     rcx, aPlayerSpecial0; jumptable 000000014027AE20 cases 1,2     ; +0x426, 0x14027af36\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x42d, 0x14027af3d\nmov     rsi, rax                                                       ; +0x433, 0x14027af43\ncmp     [rbp+3Fh+arg_28], 0                                            ; +0x436, 0x14027af46\njz      short loc_14027AF7D                                            ; +0x43a, 0x14027af4a\nmov     r8, [rax+140h]                                                 ; +0x43c, 0x14027af4c\nlea     rdx, stru_140529AB8                                            ; +0x443, 0x14027af53\nlea     rcx, [rax+140h]                                                ; +0x44a, 0x14027af5a\ncall    qword ptr [r8]                                                 ; +0x451, 0x14027af61\nmov     r8, [rsi+140h]                                                 ; +0x454, 0x14027af64\nmov     dl, 78h ; 'x'                                                  ; +0x45b, 0x14027af6b\nlea     rcx, [rsi+140h]                                                ; +0x45d, 0x14027af6d\ncall    qword ptr [r8+28h]                                             ; +0x464, 0x14027af74\njmp     loc_14027B0FA                                                  ; +0x468, 0x14027af78\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x46d, 0x14027af7d\ntest    rcx, rcx                                                       ; +0x474, 0x14027af84\njnz     short loc_14027AFB7                                            ; +0x477, 0x14027af87\nmov     ecx, 668h; Size                                                ; +0x479, 0x14027af89\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x47e, 0x14027af8e\nmov     [rbp+3Fh+var_90], rax                                          ; +0x483, 0x14027af93\nmov     rcx, rax                                                       ; +0x487, 0x14027af97\ncall    sub_14017AB00                                                  ; +0x48a, 0x14027af9a\nnop                                                                    ; +0x48f, 0x14027af9f\nmov     cs:qword_1406C2ED8, rax                                        ; +0x490, 0x14027afa0\nmov     rdx, [rax]                                                     ; +0x497, 0x14027afa7\nmov     rcx, rax                                                       ; +0x49a, 0x14027afaa\ncall    qword ptr [rdx+48h]                                            ; +0x49d, 0x14027afad\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x4a0, 0x14027afb0\nmov     r8d, ebx                                                       ; +0x4a7, 0x14027afb7\nlea     rdx, [rbp+3Fh+var_A0]                                          ; +0x4aa, 0x14027afba\ncall    GameManager__colorForIdx                                       ; +0x4ae, 0x14027afbe\nlea     rcx, [rsi+140h]                                                ; +0x4b3, 0x14027afc3\nmov     rax, [rcx]                                                     ; +0x4ba, 0x14027afca\nlea     rdx, [rbp+3Fh+var_A0]                                          ; +0x4bd, 0x14027afcd\ncall    qword ptr [rax]                                                ; +0x4c1, 0x14027afd1\ncmp     [rbp+3Fh+arg_38], 0                                            ; +0x4c3, 0x14027afd3\njnz     loc_14027B0FA                                                  ; +0x4ca, 0x14027afda\nlea     rax, word_140531EA4                                            ; +0x4d0, 0x14027afe0\nlea     rcx, word_140531EA0                                            ; +0x4d7, 0x14027afe7\ncmp     edi, 2                                                         ; +0x4de, 0x14027afee\ncmovz   rcx, rax                                                       ; +0x4e1, 0x14027aff1\nlea     rdx, qword_14052A4D8                                           ; +0x4e5, 0x14027aff5\ncall    cs:?create@CCLabelBMFont@cocos2d@@SAPEAV12@PEBD0@Z; cocos2d::CCLabelBMFont::create(char const *,char const *) ; +0x4ec, 0x14027affc\nmov     rdi, rax                                                       ; +0x4f2, 0x14027b002\nmov     rdx, [rax]                                                     ; +0x4f5, 0x14027b005\nmovaps  xmm1, xmm7                                                     ; +0x4f8, 0x14027b008\nmov     rcx, rax                                                       ; +0x4fb, 0x14027b00b\ncall    qword ptr [rdx+0A0h]                                           ; +0x4fe, 0x14027b00e\nlea     rcx, [rdi+170h]                                                ; +0x504, 0x14027b014\nmov     r8, [rcx]                                                      ; +0x50b, 0x14027b01b\nlea     rdx, [rbp+3Fh+var_A0]                                          ; +0x50e, 0x14027b01e\ncall    qword ptr [r8]                                                 ; +0x512, 0x14027b022\nmov     r9, [rsi]                                                      ; +0x515, 0x14027b025\nmov     r8d, 1                                                         ; +0x518, 0x14027b028\nmov     rdx, rdi                                                       ; +0x51e, 0x14027b02e\nmov     rcx, rsi                                                       ; +0x521, 0x14027b031\ncall    qword ptr [r9+1B8h]                                            ; +0x524, 0x14027b034\nmov     rbx, [rdi]                                                     ; +0x52b, 0x14027b03b\nmov     rax, [rsi]                                                     ; +0x52e, 0x14027b03e\nmov     rcx, rsi                                                       ; +0x531, 0x14027b041\ncall    qword ptr [rax+130h]                                           ; +0x534, 0x14027b044\nmovss   xmm6, dword ptr [rax+4]                                        ; +0x53a, 0x14027b04a\nmov     rax, [rsi]                                                     ; +0x53f, 0x14027b04f\nmov     rcx, rsi                                                       ; +0x542, 0x14027b052\ncall    qword ptr [rax+130h]                                           ; +0x545, 0x14027b055\nmulss   xmm6, xmm7                                                     ; +0x54b, 0x14027b05b\nmovss   xmm1, dword ptr [rax]                                          ; +0x54f, 0x14027b05f\nmulss   xmm1, xmm7                                                     ; +0x553, 0x14027b063\nmovaps  xmm2, xmm6                                                     ; +0x557, 0x14027b067\nlea     rcx, [rbp+3Fh+var_90]                                          ; +0x55a, 0x14027b06a\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x55e, 0x14027b06e\nmov     rdx, rax                                                       ; +0x564, 0x14027b074\nmov     rcx, rdi                                                       ; +0x567, 0x14027b077\ncall    qword ptr [rbx+0B8h]                                           ; +0x56a, 0x14027b07a\njmp     short loc_14027B0FA                                            ; +0x570, 0x14027b080\ncmp     dword ptr [r14+274h], 0Ch; jumptable 000000014027AE20 default case, cases 9-11 ; +0x572, 0x14027b082\njnz     short loc_14027B0A1                                            ; +0x57a, 0x14027b08a\nlea     eax, [rbx-6]                                                   ; +0x57c, 0x14027b08c\ncmp     eax, 9                                                         ; +0x57f, 0x14027b08f\nja      short loc_14027B0A1                                            ; +0x582, 0x14027b092\nlea     ecx, [rbx-5]                                                   ; +0x584, 0x14027b094\ncall    GJPathSprite__create                                           ; +0x587, 0x14027b097\nmov     rsi, rax                                                       ; +0x58c, 0x14027b09c\njmp     short loc_14027B0FA                                            ; +0x58f, 0x14027b09f\nlea     rdx, [rbp+3Fh+Block]                                           ; +0x591, 0x14027b0a1\nmov     r8d, ebx                                                       ; +0x595, 0x14027b0a5\nlea     rcx, aS02d001Png; \"%s_%02d_001.png\"                            ; +0x598, 0x14027b0a8\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x59f, 0x14027b0af\nmov     rcx, rax                                                       ; +0x5a5, 0x14027b0b5\ncall    cs:?getCString@CCString@cocos2d@@QEBAPEBDXZ; cocos2d::CCString::getCString(void) ; +0x5a8, 0x14027b0b8\nmov     rcx, rax                                                       ; +0x5ae, 0x14027b0be\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x5b1, 0x14027b0c1\nmov     rsi, rax                                                       ; +0x5b7, 0x14027b0c7\ncmp     [rbp+3Fh+arg_28], 0                                            ; +0x5ba, 0x14027b0ca\njz      short loc_14027B0FA                                            ; +0x5be, 0x14027b0ce\nmov     rax, [rax+140h]                                                ; +0x5c0, 0x14027b0d0\nlea     rdx, stru_140529AB8                                            ; +0x5c7, 0x14027b0d7\nlea     rcx, [rsi+140h]                                                ; +0x5ce, 0x14027b0de\ncall    qword ptr [rax]                                                ; +0x5d5, 0x14027b0e5\nmov     rax, [rsi+140h]                                                ; +0x5d7, 0x14027b0e7\nmov     dl, 78h ; 'x'                                                  ; +0x5de, 0x14027b0ee\nlea     rcx, [rsi+140h]                                                ; +0x5e0, 0x14027b0f0\ncall    qword ptr [rax+28h]                                            ; +0x5e7, 0x14027b0f7\nmov     rax, [r14]                                                     ; +0x5ea, 0x14027b0fa\nmov     rdx, rsi                                                       ; +0x5ed, 0x14027b0fd\nmov     rcx, r14                                                       ; +0x5f0, 0x14027b100\ncall    qword ptr [rax+1C0h]                                           ; +0x5f3, 0x14027b103\nmov     rbx, [rsi]                                                     ; +0x5f9, 0x14027b109\nmovss   xmm2, [rbp+3Fh+var_94]                                         ; +0x5fc, 0x14027b10c\nmulss   xmm2, xmm7                                                     ; +0x601, 0x14027b111\nmovss   xmm1, [rbp+3Fh+var_98]                                         ; +0x605, 0x14027b115\nmulss   xmm1, xmm7                                                     ; +0x60a, 0x14027b11a\nlea     rcx, [rbp+3Fh+var_90]                                          ; +0x60e, 0x14027b11e\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x612, 0x14027b122\nmov     rdx, rax                                                       ; +0x618, 0x14027b128\nmov     rcx, rsi                                                       ; +0x61b, 0x14027b12b\ncall    qword ptr [rbx+0B8h]                                           ; +0x61e, 0x14027b12e\nmov     [r14+258h], rsi                                                ; +0x624, 0x14027b134\nmov     rdx, [rbp+3Fh+var_70]                                          ; +0x62b, 0x14027b13b\ncmp     rdx, 0Fh                                                       ; +0x62f, 0x14027b13f\njbe     short loc_14027B179                                            ; +0x633, 0x14027b143\ninc     rdx                                                            ; +0x635, 0x14027b145\nmov     rcx, [rbp+3Fh+Block]; Block                                    ; +0x638, 0x14027b148\nmov     rax, rcx                                                       ; +0x63c, 0x14027b14c\ncmp     rdx, 1000h                                                     ; +0x63f, 0x14027b14f\njb      short loc_14027B174                                            ; +0x646, 0x14027b156\nadd     rdx, 27h ; '''                                                 ; +0x648, 0x14027b158\nmov     rcx, [rcx-8]                                                   ; +0x64c, 0x14027b15c\nsub     rax, rcx                                                       ; +0x650, 0x14027b160\nadd     rax, 0FFFFFFFFFFFFFFF8h                                        ; +0x653, 0x14027b163\ncmp     rax, 1Fh                                                       ; +0x657, 0x14027b167\njbe     short loc_14027B174                                            ; +0x65b, 0x14027b16b\ncall    cs:_invalid_parameter_noinfo_noreturn                          ; +0x65d, 0x14027b16d\nalign 4                                                                ; +0x663, 0x14027b173\ncall    j_j_free                                                       ; +0x664, 0x14027b174\nmov     al, 1                                                          ; +0x669, 0x14027b179\nmov     rcx, [rbp+3Fh+var_68]                                          ; +0x66b, 0x14027b17b\nxor     rcx, rsp; StackCookie                                          ; +0x66f, 0x14027b17f\ncall    __security_check_cookie                                        ; +0x672, 0x14027b182\nmovaps  xmm6, [rsp+0C0h+var_50]                                        ; +0x677, 0x14027b187\nmovaps  xmm7, [rsp+0C0h+var_60]                                        ; +0x67c, 0x14027b18c\nadd     rsp, 88h                                                       ; +0x681, 0x14027b191\npop     r15                                                            ; +0x688, 0x14027b198\npop     r14                                                            ; +0x68a, 0x14027b19a\npop     r13                                                            ; +0x68c, 0x14027b19c\npop     r12                                                            ; +0x68e, 0x14027b19e\npop     rdi                                                            ; +0x690, 0x14027b1a0\npop     rsi                                                            ; +0x691, 0x14027b1a1\npop     rbx                                                            ; +0x692, 0x14027b1a2\npop     rbp                                                            ; +0x693, 0x14027b1a3\nretn                                                                   ; +0x694, 0x14027b1a4\nalign 8                                                                ; +0x695, 0x14027b1a5\ndd offset def_14027AC3B - 140000000h; jump table for switch statement  ; +0x698, 0x14027b1a8\ndd offset loc_14027AE22 - 140000000h; jump table for switch statement  ; +0x6d4, 0x14027b1e4", "xrefs": ["AchievementBar::init @ 0x140081701", "CommunityCreditsPage::init @ 0x140095850", "AchievementCell::loadFromDict @ 0x1400ad732", "GJItemIcon::createStoreItem @ 0x14027a9a4", "GJItemIcon::createBrowserItem @ 0x14027aacb", "GJPathPage::init @ 0x14028656b", "RewardUnlockLayer::playRewardEffect @ 0x1403cf8e1", "RewardUnlockLayer::playRewardEffect @ 0x1403d00b6", "ShardsPage::init @ 0x14048c06b", "<???> @ 0x1406d1100"], "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"}