{"type": "func", "start": 5372728032, "end": 5372729130, "name": "SecretRewardsLayer::createSecondaryLayer", "pseudocode": "// \n// SecretRewardsLayer::createSecondaryLayer from 0x1403d52e0 to 0x1403d572a (1098 bytes)\n// \n// 2 xrefs:\n// > SecretRewardsLayer::onChestType @ 0x1403d5118\n// > <???> @ 0x1406d7d24\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\nvoid SecretRewardsLayer::createSecondaryLayer(SecretRewardsLayer *a1, int a2)\n{\n  cocos2d::CCLayer *m_secondaryLayer; // rcx\n  cocos2d::CCDirector *v5; // rax\n  cocos2d::CCLayer *v6; // rax\n  SecretRewardsLayer_vtbl *v7; // r8\n  struct cocos2d::CCRect *v8; // rax\n  struct cocos2d::extension::CCScale9Sprite *v9; // rax\n  __int64 v10; // rdx\n  _QWORD *v11; // rdi\n  float v12; // xmm0_4\n  __int64 v13; // rbx\n  __int64 v14; // rax\n  void (__fastcall **v15)(__int64, const cocos2d::ccColor3B *); // rbx\n  const cocos2d::ccColor3B *v16; // rax\n  int i; // esi\n  struct cocos2d::CCSprite *v18; // rdi\n  float v19; // xmm0_4\n  cocos2d::CCSprite_vtbl *v20; // rbx\n  const cocos2d::CCPoint *v21; // rax\n  cocos2d::CCSprite_vtbl *v22; // rbx\n  const cocos2d::CCPoint *v23; // rax\n  __int64 v24; // rdx\n  cocos2d::CCLabelBMFont *v25; // rax\n  cocos2d::CCLayer *v26; // rcx\n  cocos2d::CCLabelBMFont_vtbl *v27; // rbx\n  const cocos2d::CCPoint *v28; // rax\n  cocos2d::CCArray *ChestItems; // rax\n  int v30; // edx\n  BoomScrollLayer *v31; // rax\n  cocos2d::CCLayer *v32; // rcx\n  __int64 v33; // rcx\n  cocos2d::CCDirector *v34; // rax\n  float ScreenBottom; // xmm0_4\n  BoomScrollLayer *m_secondaryScrollLayer; // rbx\n  __int64 v37; // rax\n  __int64 v38; // rcx\n  cocos2d::CCDirector *v39; // rax\n  float ScreenTop; // xmm6_4\n  __int64 v41; // rcx\n  cocos2d::CCDirector *v42; // rax\n  float ScreenRight; // xmm0_4\n  __int64 v44; // rax\n  cocos2d::CCRect v45; // [rsp+30h] [rbp-68h] BYREF\n  float v46; // [rsp+A0h] [rbp+8h]\n  float v47; // [rsp+A4h] [rbp+Ch]\n  cocos2d::CCSize v48; // [rsp+B0h] [rbp+18h] BYREF\n\n  m_secondaryLayer = a1->m_secondaryLayer;\n  if ( m_secondaryLayer )\n  {\n    a1->m_secondaryScrollLayer = nullptr;\n    a1->m_chestCounter = nullptr;\n    m_secondaryLayer->removeFromParent(m_secondaryLayer);\n    a1->m_secondaryLayer = nullptr;\n  }\n  v5 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(m_secondaryLayer);\n  cocos2d::CCDirector::getWinSize(v5);\n  v6 = (cocos2d::CCLayer *)cocos2d::CCLayer::create();\n  v7 = a1->cocos2d::CCLayer::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  a1->m_secondaryLayer = v6;\n  v7->addChild_1(a1, v6);\n  cocos2d::CCRect::CCRect(&v45, 0.0, 0.0, 80.0, 80.0);\n  v9 = cocos2d::extension::CCScale9Sprite::create(\"GJ_square05.png\", v8);\n  LOBYTE(v10) = 75;\n  v11 = &v9->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  v9->setOpacity(&v9->cocos2d::CCRGBAProtocol, v10);\n  cocos2d::CCSize::CCSize(&v48, 370.0, 255.0);\n  (*(void (__fastcall **)(_QWORD *, cocos2d::CCSize *))(*v11 + 296LL))(v11, &v48);\n  v12 = ((float (__fastcall *)(cocos2d::CCLayer *, _QWORD *, __int64))a1->m_secondaryLayer->addChild_0)(\n          a1->m_secondaryLayer,\n          v11,\n          0xFFFFFFFFLL);\n  v13 = *v11;\n  cocos2d::CCPoint::CCPoint(v12, v46 * 0.5);\n  (*(void (__fastcall **)(_QWORD *, __int64))(v13 + 184))(v11, v14);\n  v15 = (void (__fastcall **)(__int64, const cocos2d::ccColor3B *))v11[40];\n  v16 = a1->m_backgroundSprite->getColor(&a1->m_backgroundSprite->cocos2d::CCRGBAProtocol);\n  (*v15)((__int64)(v11 + 40), v16);\n  for ( i = 0; i < 2; ++i )\n  {\n    v18 = cocos2d::CCSprite::createWithSpriteFrameName(\"chain_01_001.png\");\n    v19 = ((float (__fastcall *)(cocos2d::CCLayer *, struct cocos2d::CCSprite *, __int64))a1->m_secondaryLayer->addChild_0)(\n            a1->m_secondaryLayer,\n            v18,\n            0xFFFFFFFFLL);\n    v20 = v18->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    cocos2d::CCPoint::CCPoint(v19, 0.5);\n    v20->setAnchorPoint(v18, v21);\n    v22 = v18->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n    cocos2d::CCPoint::CCPoint(\n      (float)(v46 * 0.5) - 100.0,\n      (float)((float)((float)i * 100.0) + (float)((float)i * 100.0)) + (float)((float)(v46 * 0.5) - 100.0));\n    v22->setPosition_0(v18, v23);\n    v18->setColor(&v18->cocos2d::CCRGBAProtocol, &stru_140529BE8);\n    LOBYTE(v24) = 75;\n    v18->setOpacity(&v18->cocos2d::CCRGBAProtocol, v24);\n  }\n  v25 = cocos2d::CCLabelBMFont::create(\" \", \"goldFont.fnt\");\n  v26 = a1->m_secondaryLayer;\n  a1->m_chestCounter = v25;\n  v26->addChild_1(v26, v25);\n  ((void (__fastcall *)(cocos2d::CCLabelBMFont *))a1->m_chestCounter->setScale_0)(a1->m_chestCounter);\n  v27 = a1->m_chestCounter->__vftable;\n  cocos2d::CCPoint::CCPoint(v47 * 0.5, v46 * 0.5);\n  v27->setPosition_0(a1->m_chestCounter, v28);\n  SecretRewardsLayer::updateUnlockedLabel(a1);\n  ChestItems = SecretRewardsLayer::generateChestItems(a1, a2);\n  v31 = BoomScrollLayer::create(ChestItems, v30, a2 <= 5, nullptr, nullptr);\n  v32 = a1->m_secondaryLayer;\n  a1->m_secondaryScrollLayer = v31;\n  v32->addChild_1(v32, v31);\n  v34 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v33);\n  ScreenBottom = cocos2d::CCDirector::getScreenBottom(v34);\n  cocos2d::CCPoint::CCPoint(ScreenBottom + 10.0, v46 * 0.5);\n  m_secondaryScrollLayer = a1->m_secondaryScrollLayer;\n  cocos2d::CCPoint::operator=(&m_secondaryScrollLayer->m_dotPosition, v37);\n  BoomScrollLayer::updateDots(m_secondaryScrollLayer, 0.0);\n  a1->m_secondaryScrollLayer->m_unkFloat2 = 0.89999998;\n  a1->m_secondaryScrollLayer->m_doVisit = 1;\n  v39 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v38);\n  ScreenTop = cocos2d::CCDirector::getScreenTop(v39);\n  v42 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(v41);\n  ScreenRight = cocos2d::CCDirector::getScreenRight(v42);\n  cocos2d::CCRect::CCRect(&v45, 0.0, 0.0, ScreenRight, ScreenTop);\n  cocos2d::CCRect::operator=(&a1->m_secondaryScrollLayer->m_clippingRect, v44);\n}", "assembly": "; \n; SecretRewardsLayer::createSecondaryLayer from 0x1403d52e0 to 0x1403d572a (1098 bytes)\n; \n; 2 xrefs:\n; > SecretRewardsLayer::onChestType @ 0x1403d5118\n; > <???> @ 0x1406d7d24\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_8], rbx                                               ; +0x0, 0x1403d52e0\npush    rbp                                                            ; +0x5, 0x1403d52e5\npush    rsi                                                            ; +0x6, 0x1403d52e6\npush    rdi                                                            ; +0x7, 0x1403d52e7\npush    r14                                                            ; +0x8, 0x1403d52e8\npush    r15                                                            ; +0xa, 0x1403d52ea\nsub     rsp, 70h                                                       ; +0xc, 0x1403d52ec\nmovaps  [rsp+98h+var_38], xmm6                                         ; +0x10, 0x1403d52f0\nmov     r14, rcx                                                       ; +0x15, 0x1403d52f5\nmov     rcx, [rcx+1B0h]                                                ; +0x18, 0x1403d52f8\nxor     r15d, r15d                                                     ; +0x1f, 0x1403d52ff\nmovaps  [rsp+98h+var_48], xmm7                                         ; +0x22, 0x1403d5302\nmov     ebp, edx                                                       ; +0x27, 0x1403d5307\nmovaps  [rsp+98h+var_58], xmm8                                         ; +0x29, 0x1403d5309\ntest    rcx, rcx                                                       ; +0x2f, 0x1403d530f\njz      short loc_1403D5332                                            ; +0x32, 0x1403d5312\nmov     [r14+228h], r15                                                ; +0x34, 0x1403d5314\nmov     [r14+1C0h], r15                                                ; +0x3b, 0x1403d531b\nmov     rax, [rcx]                                                     ; +0x42, 0x1403d5322\ncall    qword ptr [rax+1F0h]                                           ; +0x45, 0x1403d5325\nmov     [r14+1B0h], r15                                                ; +0x4b, 0x1403d532b\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x52, 0x1403d5332\nmov     rcx, rax                                                       ; +0x58, 0x1403d5338\nlea     rdx, [rsp+98h+arg_0]                                           ; +0x5b, 0x1403d533b\ncall    cs:?getWinSize@CCDirector@cocos2d@@QEAA?AVCCSize@2@XZ; cocos2d::CCDirector::getWinSize(void) ; +0x63, 0x1403d5343\ncall    cs:?create@CCLayer@cocos2d@@SAPEAV12@XZ; cocos2d::CCLayer::create(void) ; +0x69, 0x1403d5349\nmov     r8, [r14]                                                      ; +0x6f, 0x1403d534f\nmov     rcx, r14                                                       ; +0x72, 0x1403d5352\nmov     rdx, rax                                                       ; +0x75, 0x1403d5355\nmov     [r14+1B0h], rax                                                ; +0x78, 0x1403d5358\ncall    qword ptr [r8+1C0h]                                            ; +0x7f, 0x1403d535f\nmovss   xmm3, cs:dword_14062326C                                       ; +0x86, 0x1403d5366\nlea     rcx, [rsp+98h+var_68]                                          ; +0x8e, 0x1403d536e\nxorps   xmm2, xmm2                                                     ; +0x93, 0x1403d5373\nmovss   dword ptr [rsp+98h+var_78], xmm3                               ; +0x96, 0x1403d5376\nxorps   xmm1, xmm1                                                     ; +0x9c, 0x1403d537c\ncall    cs:??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x9f, 0x1403d537f\nmov     rdx, rax                                                       ; +0xa5, 0x1403d5385\nlea     rcx, aGjSquare05Png; \"GJ_square05.png\"                         ; +0xa8, 0x1403d5388\ncall    cs:?create@CCScale9Sprite@extension@cocos2d@@SAPEAV123@PEBDVCCRect@3@@Z; cocos2d::extension::CCScale9Sprite::create(char const *,cocos2d::CCRect) ; +0xaf, 0x1403d538f\nmov     dl, 4Bh ; 'K'                                                  ; +0xb5, 0x1403d5395\nmov     rdi, rax                                                       ; +0xb7, 0x1403d5397\nmov     r8, [rax+140h]                                                 ; +0xba, 0x1403d539a\nlea     rcx, [rax+140h]                                                ; +0xc1, 0x1403d53a1\ncall    qword ptr [r8+28h]                                             ; +0xc8, 0x1403d53a8\nmovss   xmm2, cs:dword_140623418                                       ; +0xcc, 0x1403d53ac\nlea     rcx, [rsp+98h+arg_10]                                          ; +0xd4, 0x1403d53b4\nmovss   xmm1, cs:dword_140623474                                       ; +0xdc, 0x1403d53bc\ncall    cs:??0CCSize@cocos2d@@QEAA@MM@Z; cocos2d::CCSize::CCSize(float,float) ; +0xe4, 0x1403d53c4\nmov     r8, [rdi]                                                      ; +0xea, 0x1403d53ca\nlea     rdx, [rsp+98h+arg_10]                                          ; +0xed, 0x1403d53cd\nmov     rcx, rdi                                                       ; +0xf5, 0x1403d53d5\ncall    qword ptr [r8+128h]                                            ; +0xf8, 0x1403d53d8\nmov     rcx, [r14+1B0h]                                                ; +0xff, 0x1403d53df\nmov     r8d, 0FFFFFFFFh                                                ; +0x106, 0x1403d53e6\nmov     rdx, rdi                                                       ; +0x10c, 0x1403d53ec\nmov     rax, [rcx]                                                     ; +0x10f, 0x1403d53ef\ncall    qword ptr [rax+1B8h]                                           ; +0x112, 0x1403d53f2\nmovss   xmm2, [rsp+98h+arg_4]                                          ; +0x118, 0x1403d53f8\nlea     rcx, [rsp+98h+arg_18]                                          ; +0x121, 0x1403d5401\nmovss   xmm1, [rsp+98h+arg_0]                                          ; +0x129, 0x1403d5409\nmovss   xmm6, cs:dword_140622B08                                       ; +0x132, 0x1403d5412\nmov     rbx, [rdi]                                                     ; +0x13a, 0x1403d541a\nmulss   xmm2, xmm6                                                     ; +0x13d, 0x1403d541d\nmulss   xmm1, xmm6                                                     ; +0x141, 0x1403d5421\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x145, 0x1403d5425\nmov     rdx, rax                                                       ; +0x14b, 0x1403d542b\nmov     rcx, rdi                                                       ; +0x14e, 0x1403d542e\ncall    qword ptr [rbx+0B8h]                                           ; +0x151, 0x1403d5431\nmov     rcx, [r14+230h]                                                ; +0x157, 0x1403d5437\nmov     rbx, [rdi+140h]                                                ; +0x15e, 0x1403d543e\nadd     rcx, 140h                                                      ; +0x165, 0x1403d5445\nmov     rax, [rcx]                                                     ; +0x16c, 0x1403d544c\ncall    qword ptr [rax+8]                                              ; +0x16f, 0x1403d544f\nmov     rdx, rax                                                       ; +0x172, 0x1403d5452\nlea     rcx, [rdi+140h]                                                ; +0x175, 0x1403d5455\ncall    qword ptr [rbx]                                                ; +0x17c, 0x1403d545c\nmovss   xmm7, cs:dword_1406232BC                                       ; +0x17e, 0x1403d545e\nmov     esi, r15d                                                      ; +0x186, 0x1403d5466\nmovss   xmm8, cs:width                                                 ; +0x189, 0x1403d5469\nlea     rcx, aChain01001Png; \"chain_01_001.png\"                        ; +0x192, 0x1403d5472\ncall    cs:?createWithSpriteFrameName@CCSprite@cocos2d@@SAPEAV12@PEBD@Z; cocos2d::CCSprite::createWithSpriteFrameName(char const *) ; +0x199, 0x1403d5479\nmov     rcx, [r14+1B0h]                                                ; +0x19f, 0x1403d547f\nmov     r8d, 0FFFFFFFFh                                                ; +0x1a6, 0x1403d5486\nmov     rdx, rax                                                       ; +0x1ac, 0x1403d548c\nmov     rdi, rax                                                       ; +0x1af, 0x1403d548f\nmov     r9, [rcx]                                                      ; +0x1b2, 0x1403d5492\ncall    qword ptr [r9+1B8h]                                            ; +0x1b5, 0x1403d5495\nmov     rbx, [rdi]                                                     ; +0x1bc, 0x1403d549c\nlea     rcx, [rsp+98h+arg_18]                                          ; +0x1bf, 0x1403d549f\nxorps   xmm2, xmm2                                                     ; +0x1c7, 0x1403d54a7\nmovaps  xmm1, xmm6                                                     ; +0x1ca, 0x1403d54aa\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x1cd, 0x1403d54ad\nmov     rdx, rax                                                       ; +0x1d3, 0x1403d54b3\nmov     rcx, rdi                                                       ; +0x1d6, 0x1403d54b6\ncall    qword ptr [rbx+110h]                                           ; +0x1d9, 0x1403d54b9\nmovss   xmm0, [rsp+98h+arg_4]                                          ; +0x1df, 0x1403d54bf\nlea     rcx, [rsp+98h+var_68]                                          ; +0x1e8, 0x1403d54c8\nmovss   xmm2, [rsp+98h+arg_14]                                         ; +0x1ed, 0x1403d54cd\nmov     rbx, [rdi]                                                     ; +0x1f6, 0x1403d54d6\nmulss   xmm0, xmm6                                                     ; +0x1f9, 0x1403d54d9\nmulss   xmm2, xmm6                                                     ; +0x1fd, 0x1403d54dd\nmovd    xmm1, esi                                                      ; +0x201, 0x1403d54e1\ncvtdq2ps xmm1, xmm1                                                    ; +0x205, 0x1403d54e5\naddss   xmm2, xmm0                                                     ; +0x208, 0x1403d54e8\nmovss   xmm0, [rsp+98h+arg_0]                                          ; +0x20c, 0x1403d54ec\nmulss   xmm1, xmm7                                                     ; +0x215, 0x1403d54f5\nmulss   xmm0, xmm6                                                     ; +0x219, 0x1403d54f9\naddss   xmm1, xmm1                                                     ; +0x21d, 0x1403d54fd\nsubss   xmm2, xmm8                                                     ; +0x221, 0x1403d5501\nsubss   xmm0, xmm7                                                     ; +0x226, 0x1403d5506\naddss   xmm1, xmm0                                                     ; +0x22a, 0x1403d550a\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x22e, 0x1403d550e\nmov     rdx, rax                                                       ; +0x234, 0x1403d5514\nmov     rcx, rdi                                                       ; +0x237, 0x1403d5517\ncall    qword ptr [rbx+0B8h]                                           ; +0x23a, 0x1403d551a\nmov     rax, [rdi+140h]                                                ; +0x240, 0x1403d5520\nlea     rdx, stru_140529BE8                                            ; +0x247, 0x1403d5527\nlea     rcx, [rdi+140h]                                                ; +0x24e, 0x1403d552e\ncall    qword ptr [rax]                                                ; +0x255, 0x1403d5535\nmov     rax, [rdi+140h]                                                ; +0x257, 0x1403d5537\nlea     rcx, [rdi+140h]                                                ; +0x25e, 0x1403d553e\nmov     dl, 4Bh ; 'K'                                                  ; +0x265, 0x1403d5545\ncall    qword ptr [rax+28h]                                            ; +0x267, 0x1403d5547\ninc     esi                                                            ; +0x26a, 0x1403d554a\ncmp     esi, 2                                                         ; +0x26c, 0x1403d554c\njl      loc_1403D5472                                                  ; +0x26f, 0x1403d554f\nlea     rdx, aGoldfontFnt; \"goldFont.fnt\"                              ; +0x275, 0x1403d5555\nlea     rcx, asc_140518984; \" \"                                        ; +0x27c, 0x1403d555c\ncall    cs:?create@CCLabelBMFont@cocos2d@@SAPEAV12@PEBD0@Z; cocos2d::CCLabelBMFont::create(char const *,char const *) ; +0x283, 0x1403d5563\nmov     rcx, [r14+1B0h]                                                ; +0x289, 0x1403d5569\nmov     rdx, rax                                                       ; +0x290, 0x1403d5570\nmov     [r14+1C0h], rax                                                ; +0x293, 0x1403d5573\nmov     r8, [rcx]                                                      ; +0x29a, 0x1403d557a\ncall    qword ptr [r8+1C0h]                                            ; +0x29d, 0x1403d557d\nmov     rcx, [r14+1C0h]                                                ; +0x2a4, 0x1403d5584\nmovss   xmm1, cs:dword_140622B38                                       ; +0x2ab, 0x1403d558b\nmov     rax, [rcx]                                                     ; +0x2b3, 0x1403d5593\ncall    qword ptr [rax+0A0h]                                           ; +0x2b6, 0x1403d5596\nmovss   xmm2, [rsp+98h+arg_14]                                         ; +0x2bc, 0x1403d559c\nlea     rcx, [rsp+98h+arg_18]                                          ; +0x2c5, 0x1403d55a5\nmovss   xmm0, [rsp+98h+arg_4]                                          ; +0x2cd, 0x1403d55ad\nmovss   xmm1, [rsp+98h+arg_0]                                          ; +0x2d6, 0x1403d55b6\nmov     rax, [r14+1C0h]                                                ; +0x2df, 0x1403d55bf\nmulss   xmm2, xmm6                                                     ; +0x2e6, 0x1403d55c6\nmulss   xmm0, xmm6                                                     ; +0x2ea, 0x1403d55ca\nmov     rbx, [rax]                                                     ; +0x2ee, 0x1403d55ce\nmulss   xmm1, xmm6                                                     ; +0x2f1, 0x1403d55d1\naddss   xmm2, xmm0                                                     ; +0x2f5, 0x1403d55d5\naddss   xmm2, cs:dword_140623100                                       ; +0x2f9, 0x1403d55d9\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x301, 0x1403d55e1\nmov     rcx, [r14+1C0h]                                                ; +0x307, 0x1403d55e7\nmov     rdx, rax                                                       ; +0x30e, 0x1403d55ee\ncall    qword ptr [rbx+0B8h]                                           ; +0x311, 0x1403d55f1\nmov     rcx, r14                                                       ; +0x317, 0x1403d55f7\ncall    SecretRewardsLayer__updateUnlockedLabel                        ; +0x31a, 0x1403d55fa\ncmp     ebp, 5                                                         ; +0x31f, 0x1403d55ff\nmov     edx, ebp                                                       ; +0x322, 0x1403d5602\nmov     rcx, r14                                                       ; +0x324, 0x1403d5604\nsetle   bl                                                             ; +0x327, 0x1403d5607\ncall    SecretRewardsLayer__generateChestItems                         ; +0x32a, 0x1403d560a\nmov     rcx, rax                                                       ; +0x32f, 0x1403d560f\nmov     [rsp+98h+var_78], r15                                          ; +0x332, 0x1403d5612\nxor     r9d, r9d                                                       ; +0x337, 0x1403d5617\nmovzx   r8d, bl                                                        ; +0x33a, 0x1403d561a\ncall    BoomScrollLayer__create                                        ; +0x33e, 0x1403d561e\nmov     rcx, [r14+1B0h]                                                ; +0x343, 0x1403d5623\nmov     rdx, rax                                                       ; +0x34a, 0x1403d562a\nmov     [r14+228h], rax                                                ; +0x34d, 0x1403d562d\nmov     r8, [rcx]                                                      ; +0x354, 0x1403d5634\ncall    qword ptr [r8+1C0h]                                            ; +0x357, 0x1403d5637\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x35e, 0x1403d563e\nmov     rcx, rax                                                       ; +0x364, 0x1403d5644\ncall    cs:?getScreenBottom@CCDirector@cocos2d@@QEAAMXZ; cocos2d::CCDirector::getScreenBottom(void) ; +0x367, 0x1403d5647\nmovss   xmm1, [rsp+98h+arg_0]                                          ; +0x36d, 0x1403d564d\nlea     rcx, [rsp+98h+arg_18]                                          ; +0x376, 0x1403d5656\naddss   xmm0, cs:flt_14062307C                                         ; +0x37e, 0x1403d565e\nmulss   xmm1, xmm6                                                     ; +0x386, 0x1403d5666\nmovaps  xmm2, xmm0                                                     ; +0x38a, 0x1403d566a\ncall    cs:??0CCPoint@cocos2d@@QEAA@MM@Z; cocos2d::CCPoint::CCPoint(float,float) ; +0x38d, 0x1403d566d\nmov     rbx, [r14+228h]                                                ; +0x393, 0x1403d5673\nmov     rdx, rax                                                       ; +0x39a, 0x1403d567a\nlea     rcx, [rbx+234h]                                                ; +0x39d, 0x1403d567d\ncall    cs:??4CCPoint@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCPoint::operator=(cocos2d::CCPoint const &) ; +0x3a4, 0x1403d5684\nxorps   xmm1, xmm1                                                     ; +0x3aa, 0x1403d568a\nmov     rcx, rbx                                                       ; +0x3ad, 0x1403d568d\ncall    BoomScrollLayer__updateDots                                    ; +0x3b0, 0x1403d5690\nmov     rax, [r14+228h]                                                ; +0x3b5, 0x1403d5695\nmov     dword ptr [rax+214h], 3F666666h                                ; +0x3bc, 0x1403d569c\nmov     rax, [r14+228h]                                                ; +0x3c6, 0x1403d56a6\nmov     byte ptr [rax+258h], 1                                         ; +0x3cd, 0x1403d56ad\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x3d4, 0x1403d56b4\nmov     rcx, rax                                                       ; +0x3da, 0x1403d56ba\ncall    cs:?getScreenTop@CCDirector@cocos2d@@QEAAMXZ; cocos2d::CCDirector::getScreenTop(void) ; +0x3dd, 0x1403d56bd\nmovaps  xmm6, xmm0                                                     ; +0x3e3, 0x1403d56c3\ncall    cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x3e6, 0x1403d56c6\nmov     rcx, rax                                                       ; +0x3ec, 0x1403d56cc\ncall    cs:?getScreenRight@CCDirector@cocos2d@@QEAAMXZ; cocos2d::CCDirector::getScreenRight(void) ; +0x3ef, 0x1403d56cf\nxorps   xmm2, xmm2                                                     ; +0x3f5, 0x1403d56d5\nmovss   dword ptr [rsp+98h+var_78], xmm6                               ; +0x3f8, 0x1403d56d8\nmovaps  xmm3, xmm0                                                     ; +0x3fe, 0x1403d56de\nlea     rcx, [rsp+98h+var_68]                                          ; +0x401, 0x1403d56e1\nxorps   xmm1, xmm1                                                     ; +0x406, 0x1403d56e6\ncall    cs:??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x409, 0x1403d56e9\nmov     rcx, [r14+228h]                                                ; +0x40f, 0x1403d56ef\nmov     rdx, rax                                                       ; +0x416, 0x1403d56f6\nadd     rcx, 25Ch                                                      ; +0x419, 0x1403d56f9\ncall    cs:??4CCRect@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCRect::operator=(cocos2d::CCRect const &) ; +0x420, 0x1403d5700\nmov     rbx, [rsp+98h+arg_8]                                           ; +0x426, 0x1403d5706\nmovaps  xmm6, [rsp+98h+var_38]                                         ; +0x42e, 0x1403d570e\nmovaps  xmm7, [rsp+98h+var_48]                                         ; +0x433, 0x1403d5713\nmovaps  xmm8, [rsp+98h+var_58]                                         ; +0x438, 0x1403d5718\nadd     rsp, 70h                                                       ; +0x43e, 0x1403d571e\npop     r15                                                            ; +0x442, 0x1403d5722\npop     r14                                                            ; +0x444, 0x1403d5724\npop     rdi                                                            ; +0x446, 0x1403d5726\npop     rsi                                                            ; +0x447, 0x1403d5727\npop     rbp                                                            ; +0x448, 0x1403d5728\nretn                                                                   ; +0x449, 0x1403d5729", "xrefs": ["SecretRewardsLayer::onChestType @ 0x1403d5118", "<???> @ 0x1406d7d24"], "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"}