{"type": "func", "start": 5371859120, "end": 5371859473, "name": "GauntletSelectLayer::unlockAnimationFinished", "pseudocode": "// \n// GauntletSelectLayer::unlockAnimationFinished from 0x1403010b0 to 0x140301211 (353 bytes)\n// \n// 2 xrefs:\n// > GauntletSelectLayer::playUnlockAnimation @ 0x140300520\n// > <???> @ 0x14091e4a0\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:30:08 +0000\n// \n\nvoid __fastcall GauntletSelectLayer::unlockAnimationFinished(__int64 a1)\n{\n  __int64 v1; // rax\n  struct cocos2d::CCObject *v3; // rsi\n  __int64 v4; // rax\n  __int64 v5; // rax\n  __int64 v6; // rdx\n  cocos2d::extension::CCScale9Sprite *v7; // r14\n  __int64 v8; // rbx\n  __int64 v9; // rax\n  __int64 v10; // rbx\n  struct cocos2d::CCActionInterval *v11; // rax\n  struct cocos2d::CCFiniteTimeAction *v12; // rax\n  struct cocos2d::CCAction *v13; // rax\n  _BYTE v14[40]; // [rsp+30h] [rbp-28h] BYREF\n  char v15; // [rsp+60h] [rbp+8h] BYREF\n\n  v1 = *(_QWORD *)(a1 + 440);\n  *(_BYTE *)(a1 + 513) = 0;\n  *(_BYTE *)(v1 + 628) = 0;\n  v3 = cocos2d::CCDictionary::objectForKey(*(cocos2d::CCDictionary **)(a1 + 496), *(int *)(a1 + 508));\n  *((_BYTE *)v3 + 352) = 0;\n  GauntletNode::generateNode(v3);\n  cocos2d::CCRect::CCRect((cocos2d::CCRect *)v14, 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 = (cocos2d::extension::CCScale9Sprite *)v5;\n  (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)(v5 + 320) + 40LL))(v5 + 320, v6);\n  v8 = *(_QWORD *)v7;\n  cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v15, 110.0, 234.0);\n  (*(void (__fastcall **)(cocos2d::extension::CCScale9Sprite *, __int64))(v8 + 312))(v7, v9);\n  (*(void (__fastcall **)(struct cocos2d::CCObject *, cocos2d::extension::CCScale9Sprite *, __int64))(*(_QWORD *)v3 + 456LL))(\n    v3,\n    v7,\n    100);\n  (**((void (__fastcall ***)(__int64, __int16 *))v7 + 40))((__int64)v7 + 320, &word_140703444);\n  cocos2d::extension::CCScale9Sprite::setBlendAdditive(v7, 1);\n  v10 = cocos2d::CCCallFunc::create(v7, sub_14003F5B0);\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(v7, v13);\n  GauntletSelectLayer::unlockAnimationStep3(a1);\n}", "assembly": "; \n; GauntletSelectLayer::unlockAnimationFinished from 0x1403010b0 to 0x140301211 (353 bytes)\n; \n; 2 xrefs:\n; > GauntletSelectLayer::playUnlockAnimation @ 0x140300520\n; > <???> @ 0x14091e4a0\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:30:08 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1403010b0\nmov     [rsp+arg_10], rbp                                              ; +0x5, 0x1403010b5\npush    rsi                                                            ; +0xa, 0x1403010ba\npush    rdi                                                            ; +0xb, 0x1403010bb\npush    r14                                                            ; +0xc, 0x1403010bc\nsub     rsp, 40h                                                       ; +0xe, 0x1403010be\nmov     rax, [rcx+1B8h]                                                ; +0x12, 0x1403010c2\nmov     rbp, rcx                                                       ; +0x19, 0x1403010c9\nmov     byte ptr [rcx+201h], 0                                         ; +0x1c, 0x1403010cc\nmov     byte ptr [rax+274h], 0                                         ; +0x23, 0x1403010d3\nmovsxd  rdx, dword ptr [rcx+1FCh]                                      ; +0x2a, 0x1403010da\nmov     rcx, [rcx+1F0h]                                                ; +0x31, 0x1403010e1\ncall    cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x38, 0x1403010e8\nmov     rcx, rax                                                       ; +0x3e, 0x1403010ee\nmov     rsi, rax                                                       ; +0x41, 0x1403010f1\nmov     byte ptr [rax+160h], 0                                         ; +0x44, 0x1403010f4\ncall    GauntletNode__generateNode                                     ; +0x4b, 0x1403010fb\nmovss   xmm3, cs:dword_14083576C                                       ; +0x50, 0x140301100\nlea     rcx, [rsp+58h+var_28]                                          ; +0x58, 0x140301108\nxorps   xmm2, xmm2                                                     ; +0x5d, 0x14030110d\nmovss   [rsp+58h+var_38], xmm3                                         ; +0x60, 0x140301110\nxorps   xmm1, xmm1                                                     ; +0x66, 0x140301116\ncall    cs:??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x69, 0x140301119\nmov     rdx, rax                                                       ; +0x6f, 0x14030111f\nlea     rcx, aGjSquareb01Png; \"GJ_squareB_01.png\"                      ; +0x72, 0x140301122\ncall    cs:?create@CCScale9Sprite@extension@cocos2d@@SAPEAV123@PEBDVCCRect@3@@Z; cocos2d::extension::CCScale9Sprite::create(char const *,cocos2d::CCRect) ; +0x79, 0x140301129\nmov     dl, 0FFh                                                       ; +0x7f, 0x14030112f\nmov     r14, rax                                                       ; +0x81, 0x140301131\nmov     rcx, [rax+140h]                                                ; +0x84, 0x140301134\nmov     r8, [rcx+28h]                                                  ; +0x8b, 0x14030113b\nlea     rcx, [rax+140h]                                                ; +0x8f, 0x14030113f\ncall    r8                                                             ; +0x96, 0x140301146\nmovss   xmm2, cs:dword_140835944                                       ; +0x99, 0x140301149\nlea     rcx, [rsp+58h+arg_0]                                           ; +0xa1, 0x140301151\nmovss   xmm1, cs:dword_1408357D0                                       ; +0xa6, 0x140301156\nmov     rbx, [r14]                                                     ; +0xae, 0x14030115e\ncall    cs:??0CCSize@cocos2d@@QEAA@MM@Z; cocos2d::CCSize::CCSize(float,float) ; +0xb1, 0x140301161\nmov     rdx, rax                                                       ; +0xb7, 0x140301167\nmov     rcx, r14                                                       ; +0xba, 0x14030116a\ncall    qword ptr [rbx+138h]                                           ; +0xbd, 0x14030116d\nmov     rax, [rsi]                                                     ; +0xc3, 0x140301173\nmov     r8d, 64h ; 'd'                                                 ; +0xc6, 0x140301176\nmov     rdx, r14                                                       ; +0xcc, 0x14030117c\nmov     rcx, rsi                                                       ; +0xcf, 0x14030117f\ncall    qword ptr [rax+1C8h]                                           ; +0xd2, 0x140301182\nmov     rax, [r14+140h]                                                ; +0xd8, 0x140301188\nlea     rdx, word_140703444                                            ; +0xdf, 0x14030118f\nlea     rcx, [r14+140h]                                                ; +0xe6, 0x140301196\ncall    qword ptr [rax]                                                ; +0xed, 0x14030119d\nmov     dl, 1                                                          ; +0xef, 0x14030119f\nmov     rcx, r14                                                       ; +0xf1, 0x1403011a1\ncall    cs:?setBlendAdditive@CCScale9Sprite@extension@cocos2d@@QEAAX_N@Z; cocos2d::extension::CCScale9Sprite::setBlendAdditive(bool) ; +0xf4, 0x1403011a4\nlea     rdx, sub_14003F5B0                                             ; +0xfa, 0x1403011aa\nmov     rcx, r14                                                       ; +0x101, 0x1403011b1\ncall    cs:?create@CCCallFunc@cocos2d@@SAPEAV12@PEAVCCObject@2@P832@EAAXXZ@Z; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0x104, 0x1403011b4\nmovss   xmm0, cs:dword_140834FE8                                       ; +0x10a, 0x1403011ba\nmov     rbx, rax                                                       ; +0x112, 0x1403011c2\ncall    cs:?create@CCFadeOut@cocos2d@@SAPEAV12@M@Z; cocos2d::CCFadeOut::create(float) ; +0x115, 0x1403011c5\nmovss   xmm1, cs:dword_140835164                                       ; +0x11b, 0x1403011cb\nmov     rcx, rax                                                       ; +0x123, 0x1403011d3\ncall    cs:?create@CCEaseIn@cocos2d@@SAPEAV12@PEAVCCActionInterval@2@M@Z; cocos2d::CCEaseIn::create(cocos2d::CCActionInterval *,float) ; +0x126, 0x1403011d6\nxor     r8d, r8d                                                       ; +0x12c, 0x1403011dc\nmov     rdx, rbx                                                       ; +0x12f, 0x1403011df\nmov     rcx, rax                                                       ; +0x132, 0x1403011e2\ncall    cs:?create@CCSequence@cocos2d@@SAPEAV12@PEAVCCFiniteTimeAction@2@ZZ; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x135, 0x1403011e5\nmov     rdx, rax                                                       ; +0x13b, 0x1403011eb\nmov     rcx, r14                                                       ; +0x13e, 0x1403011ee\ncall    cs:?runAction@CCNode@cocos2d@@QEAAPEAVCCAction@2@PEAV32@@Z; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x141, 0x1403011f1\nmov     rcx, rbp                                                       ; +0x147, 0x1403011f7\nmov     rbx, [rsp+58h+arg_8]                                           ; +0x14a, 0x1403011fa\nmov     rbp, [rsp+58h+arg_10]                                          ; +0x14f, 0x1403011ff\nadd     rsp, 40h                                                       ; +0x154, 0x140301204\npop     r14                                                            ; +0x158, 0x140301208\npop     rdi                                                            ; +0x15a, 0x14030120a\npop     rsi                                                            ; +0x15b, 0x14030120b\njmp     GauntletSelectLayer__unlockAnimationStep3                      ; +0x15c, 0x14030120c", "xrefs": ["GauntletSelectLayer::playUnlockAnimation @ 0x140300520", "<???> @ 0x14091e4a0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}