{"type": "func", "start": 5370790112, "end": 5370790462, "name": "GauntletSelectLayer::unlockAnimationFinished", "pseudocode": "// \n// GauntletSelectLayer::unlockAnimationFinished from 0x1401fc0e0 to 0x1401fc23e (350 bytes)\n// \n// 2 xrefs:\n// > GauntletSelectLayer::playUnlockAnimation @ 0x1401fb5b1\n// > <???> @ 0x1406cca2c\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 GauntletSelectLayer::unlockAnimationFinished(GauntletSelectLayer *a1)\n{\n  BoomScrollLayer *m_scrollLayer; // rax\n  GauntletNode *v3; // rsi\n  struct cocos2d::CCRect *v4; // rax\n  struct cocos2d::extension::CCScale9Sprite *v5; // rax\n  __int64 v6; // rdx\n  struct cocos2d::extension::CCScale9Sprite *v7; // r14\n  cocos2d::extension::CCScale9Sprite_vtbl *v8; // rbx\n  const cocos2d::CCSize *v9; // rax\n  __int64 v10; // rbx\n  struct cocos2d::CCFadeOut *v11; // rax\n  struct cocos2d::CCEaseIn *v12; // rax\n  struct cocos2d::CCSequence *v13; // rax\n  cocos2d::ccColor3B *v14; // r8\n  float v15; // [rsp+20h] [rbp-38h]\n  cocos2d::CCRect v16; // [rsp+30h] [rbp-28h] BYREF\n  cocos2d::CCSize v17; // [rsp+60h] [rbp+8h] BYREF\n\n  m_scrollLayer = a1->m_scrollLayer;\n  a1->m_locked = 0;\n  *((_BYTE *)&m_scrollLayer->m_clippingRect + 16) = 0;\n  v3 = (GauntletNode *)cocos2d::CCDictionary::objectForKey(a1->m_gauntlets, a1->m_gauntletID);\n  v3->m_locked = 0;\n  GauntletNode::generateNode(v3);\n  cocos2d::CCRect::CCRect(&v16, 0.0, 0.0, 86.0, 86.0);\n  v5 = cocos2d::extension::CCScale9Sprite::create(\"GJ_squareB_01.png\", v4);\n  LOBYTE(v6) = -1;\n  v7 = v5;\n  v5->setOpacity(&v5->cocos2d::CCRGBAProtocol, v6);\n  v8 = v7->cocos2d::CCNodeRGBA::cocos2d::CCNode::cocos2d::CCObject::cocos2d::CCCopying::__vftable;\n  cocos2d::CCSize::CCSize(&v17, 110.0, 234.0);\n  v8->setContentSize(v7, v9);\n  v3->addChild_0(v3, v7, 100);\n  v7->setColor(&v7->cocos2d::CCRGBAProtocol, (const cocos2d::ccColor3B *)&word_140529A90);\n  cocos2d::extension::CCScale9Sprite::setBlendAdditive(v7, 1);\n  v10 = cocos2d::CCCallFunc::create(v7, sub_14003BE70);\n  v11 = cocos2d::CCFadeOut::create(0.80000001);\n  v12 = cocos2d::CCEaseIn::create(v11, 1.5);\n  v13 = cocos2d::CCSequence::create(v12, v10, 0);\n  cocos2d::CCNode::runAction((CCLightFlash *)v7, (cocos2d::CCPoint)v13, v14, 86.0, v15);\n  GauntletSelectLayer::unlockAnimationStep3(a1);\n}", "assembly": "; \n; GauntletSelectLayer::unlockAnimationFinished from 0x1401fc0e0 to 0x1401fc23e (350 bytes)\n; \n; 2 xrefs:\n; > GauntletSelectLayer::playUnlockAnimation @ 0x1401fb5b1\n; > <???> @ 0x1406cca2c\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, 0x1401fc0e0\nmov     [rsp+arg_10], rbp                                              ; +0x5, 0x1401fc0e5\npush    rsi                                                            ; +0xa, 0x1401fc0ea\npush    rdi                                                            ; +0xb, 0x1401fc0eb\npush    r14                                                            ; +0xc, 0x1401fc0ec\nsub     rsp, 40h                                                       ; +0xe, 0x1401fc0ee\nmov     rax, [rcx+1B8h]                                                ; +0x12, 0x1401fc0f2\nmov     rbp, rcx                                                       ; +0x19, 0x1401fc0f9\nmov     byte ptr [rcx+201h], 0                                         ; +0x1c, 0x1401fc0fc\nmov     byte ptr [rax+26Ch], 0                                         ; +0x23, 0x1401fc103\nmovsxd  rdx, dword ptr [rcx+1FCh]                                      ; +0x2a, 0x1401fc10a\nmov     rcx, [rcx+1F0h]                                                ; +0x31, 0x1401fc111\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x38, 0x1401fc118\nmov     rcx, rax                                                       ; +0x3e, 0x1401fc11e\nmov     rsi, rax                                                       ; +0x41, 0x1401fc121\nmov     byte ptr [rax+160h], 0                                         ; +0x44, 0x1401fc124\ncall    GauntletNode__generateNode                                     ; +0x4b, 0x1401fc12b\nmovss   xmm3, cs:dword_140623288                                       ; +0x50, 0x1401fc130\nlea     rcx, [rsp+58h+var_28]                                          ; +0x58, 0x1401fc138\nxorps   xmm2, xmm2                                                     ; +0x5d, 0x1401fc13d\nmovss   [rsp+58h+var_38], xmm3                                         ; +0x60, 0x1401fc140\nxorps   xmm1, xmm1                                                     ; +0x66, 0x1401fc146\ncall    cs:??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x69, 0x1401fc149\nmov     rdx, rax                                                       ; +0x6f, 0x1401fc14f\nlea     rcx, aGjSquareb01Png; \"GJ_squareB_01.png\"                      ; +0x72, 0x1401fc152\ncall    cs:?create@CCScale9Sprite@extension@cocos2d@@SAPEAV123@PEBDVCCRect@3@@Z; cocos2d::extension::CCScale9Sprite::create(char const *,cocos2d::CCRect) ; +0x79, 0x1401fc159\nmov     dl, 0FFh                                                       ; +0x7f, 0x1401fc15f\nmov     r14, rax                                                       ; +0x81, 0x1401fc161\nmov     r8, [rax+140h]                                                 ; +0x84, 0x1401fc164\nlea     rcx, [rax+140h]                                                ; +0x8b, 0x1401fc16b\ncall    qword ptr [r8+28h]                                             ; +0x92, 0x1401fc172\nmovss   xmm2, cs:dword_140623404                                       ; +0x96, 0x1401fc176\nlea     rcx, [rsp+58h+arg_0]                                           ; +0x9e, 0x1401fc17e\nmovss   xmm1, cs:dword_1406232D8                                       ; +0xa3, 0x1401fc183\nmov     rbx, [r14]                                                     ; +0xab, 0x1401fc18b\ncall    cs:??0CCSize@cocos2d@@QEAA@MM@Z; cocos2d::CCSize::CCSize(float,float) ; +0xae, 0x1401fc18e\nmov     rdx, rax                                                       ; +0xb4, 0x1401fc194\nmov     rcx, r14                                                       ; +0xb7, 0x1401fc197\ncall    qword ptr [rbx+128h]                                           ; +0xba, 0x1401fc19a\nmov     rax, [rsi]                                                     ; +0xc0, 0x1401fc1a0\nmov     r8d, 64h ; 'd'                                                 ; +0xc3, 0x1401fc1a3\nmov     rdx, r14                                                       ; +0xc9, 0x1401fc1a9\nmov     rcx, rsi                                                       ; +0xcc, 0x1401fc1ac\ncall    qword ptr [rax+1B8h]                                           ; +0xcf, 0x1401fc1af\nmov     rax, [r14+140h]                                                ; +0xd5, 0x1401fc1b5\nlea     rdx, word_140529A90                                            ; +0xdc, 0x1401fc1bc\nlea     rcx, [r14+140h]                                                ; +0xe3, 0x1401fc1c3\ncall    qword ptr [rax]                                                ; +0xea, 0x1401fc1ca\nmov     dl, 1                                                          ; +0xec, 0x1401fc1cc\nmov     rcx, r14                                                       ; +0xee, 0x1401fc1ce\ncall    cs:?setBlendAdditive@CCScale9Sprite@extension@cocos2d@@QEAAX_N@Z; cocos2d::extension::CCScale9Sprite::setBlendAdditive(bool) ; +0xf1, 0x1401fc1d1\nlea     rdx, sub_14003BE70                                             ; +0xf7, 0x1401fc1d7\nmov     rcx, r14                                                       ; +0xfe, 0x1401fc1de\ncall    cs:?create@CCCallFunc@cocos2d@@SAPEAV12@PEAVCCObject@2@P832@EAAXXZ@Z; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0x101, 0x1401fc1e1\nmovss   xmm0, cs:dword_140622BA4                                       ; +0x107, 0x1401fc1e7\nmov     rbx, rax                                                       ; +0x10f, 0x1401fc1ef\ncall    cs:?create@CCFadeOut@cocos2d@@SAPEAV12@M@Z; cocos2d::CCFadeOut::create(float) ; +0x112, 0x1401fc1f2\nmovss   xmm1, cs:dword_140622D04                                       ; +0x118, 0x1401fc1f8\nmov     rcx, rax                                                       ; +0x120, 0x1401fc200\ncall    cs:?create@CCEaseIn@cocos2d@@SAPEAV12@PEAVCCActionInterval@2@M@Z; cocos2d::CCEaseIn::create(cocos2d::CCActionInterval *,float) ; +0x123, 0x1401fc203\nxor     r8d, r8d                                                       ; +0x129, 0x1401fc209\nmov     rdx, rbx                                                       ; +0x12c, 0x1401fc20c\nmov     rcx, rax                                                       ; +0x12f, 0x1401fc20f\ncall    cs:?create@CCSequence@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@ZZ; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x132, 0x1401fc212\nmov     rdx, rax                                                       ; +0x138, 0x1401fc218\nmov     rcx, r14                                                       ; +0x13b, 0x1401fc21b\ncall    cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x13e, 0x1401fc21e\nmov     rcx, rbp                                                       ; +0x144, 0x1401fc224\nmov     rbx, [rsp+58h+arg_8]                                           ; +0x147, 0x1401fc227\nmov     rbp, [rsp+58h+arg_10]                                          ; +0x14c, 0x1401fc22c\nadd     rsp, 40h                                                       ; +0x151, 0x1401fc231\npop     r14                                                            ; +0x155, 0x1401fc235\npop     rdi                                                            ; +0x157, 0x1401fc237\npop     rsi                                                            ; +0x158, 0x1401fc238\njmp     GauntletSelectLayer__unlockAnimationStep3                      ; +0x159, 0x1401fc239", "xrefs": ["GauntletSelectLayer::playUnlockAnimation @ 0x1401fb5b1", "<???> @ 0x1406cca2c"], "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"}