{"type": "func", "start": 5029240, "end": 5029390, "name": "ChallengesPage::exitNodeAtSlot", "pseudocode": "// \n// ChallengesPage::exitNodeAtSlot from 0x4cbd78 to 0x4cbe0e (150 bytes)\n// \n// 2 xrefs:\n// > ChallengesPage::challengeStatusFinished @ 0x4cd096\n// > ChallengesPage::claimItem @ 0x4cd14c\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 ChallengesPage::exitNodeAtSlot(ChallengesPage *a1, int a2, float a3)\n{\n  cocos2d::CCNode *v6; // r6\n  cocos2d::CCSequence *v7; // r10\n  int v8; // r0\n  cocos2d::CCEaseElasticIn *v9; // r0\n  float v10; // r2\n  cocos2d::CCFiniteTimeAction *v11; // r9\n  int v12; // r0\n  cocos2d::CCAction *v13; // r0\n  cocos2d::CCPoint v15; // [sp+4h] [bp-Ch] BYREF\n\n  LODWORD(v15.x) = a2;\n  v15.y = a3;\n  v6 = (cocos2d::CCNode *)cocos2d::CCDictionary::objectForKey(a1->m_challengeNodes, a2);\n  if ( v6 )\n  {\n    v7 = (cocos2d::CCSequence *)cocos2d::CCDelayTime::create(a3);\n    v8 = (int)v6->getPosition(v6);\n    cocos2d::CCPoint::CCPoint(&v15, -160.0, *(float *)(v8 + 4));\n    v9 = (cocos2d::CCEaseElasticIn *)cocos2d::CCMoveTo::create(0.5, &v15);\n    v11 = (cocos2d::CCFiniteTimeAction *)cocos2d::CCEaseElasticIn::create(\n                                           v9,\n                                           (cocos2d::CCActionInterval *)0x3F99999A,\n                                           v10);\n    LODWORD(v15.x) = 260;\n    LODWORD(v15.y) = 1;\n    v12 = cocos2d::CCCallFunc::create(v6, 260, 1);\n    v13 = (cocos2d::CCAction *)cocos2d::CCSequence::create(v7, v11, v12, 0, a1);\n    cocos2d::CCNode::runAction(v6, v13);\n    cocos2d::CCDictionary::removeObjectForKey(a1->m_challengeNodes, a2);\n  }\n}", "assembly": "; \n; ChallengesPage::exitNodeAtSlot from 0x4cbd78 to 0x4cbe0e (150 bytes)\n; \n; 2 xrefs:\n; > ChallengesPage::challengeStatusFinished @ 0x4cd096\n; > ChallengesPage::claimItem @ 0x4cd14c\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.W          {R0-R10,LR}                                            ; +0x0, 0x4cbd78\nMOV             R7, R0                                                 ; +0x4, 0x4cbd7c\nLDR             R5, =(__stack_chk_guard_ptr - 0x4CBD8C)                ; +0x6, 0x4cbd7e\nMOV             R8, R1                                                 ; +0x8, 0x4cbd80\nLDR.W           R0, [R0,#0x210]; this                                  ; +0xa, 0x4cbd82\nMOV             R4, R2                                                 ; +0xe, 0x4cbd86\nADD             R5, PC; __stack_chk_guard_ptr                          ; +0x10, 0x4cbd88\nLDR             R5, [R5]; __stack_chk_guard                            ; +0x12, 0x4cbd8a\nLDR             R3, [R5]                                               ; +0x14, 0x4cbd8c\nSTR             R3, [SP,#0x10+var_4]                                   ; +0x16, 0x4cbd8e\nBL              _ZN7cocos2d12CCDictionary12objectForKeyEi; cocos2d::CCDictionary::objectForKey(int) ; +0x18, 0x4cbd90\nMOV             R6, R0                                                 ; +0x1c, 0x4cbd94\nCBZ             R0, loc_4CBDFC                                         ; +0x1e, 0x4cbd96\nMOV             R0, R4; this                                           ; +0x20, 0x4cbd98\nADD             R4, SP, #0x10+var_C                                    ; +0x22, 0x4cbd9a\nBL              _ZN7cocos2d11CCDelayTime6createEf; cocos2d::CCDelayTime::create(float) ; +0x24, 0x4cbd9c\nLDR             R3, [R6]                                               ; +0x28, 0x4cbda0\nLDR             R3, [R3,#0x60]                                         ; +0x2a, 0x4cbda2\nMOV             R10, R0                                                ; +0x2c, 0x4cbda4\nMOV             R0, R6                                                 ; +0x2e, 0x4cbda6\nBLX             R3                                                     ; +0x30, 0x4cbda8\nLDR             R1, flt_4CBE10; float                                  ; +0x32, 0x4cbdaa\nMOV             R3, R0                                                 ; +0x34, 0x4cbdac\nMOV             R0, R4; this                                           ; +0x36, 0x4cbdae\nLDR             R2, [R3,#4]; float                                     ; +0x38, 0x4cbdb0\nBL              _ZN7cocos2d7CCPointC1Eff; cocos2d::CCPoint::CCPoint(float,float) ; +0x3a, 0x4cbdb2\nMOV             R1, R4; float                                          ; +0x3e, 0x4cbdb6\nMOV.W           R0, #0x3F000000; this                                  ; +0x40, 0x4cbdb8\nBL              _ZN7cocos2d8CCMoveTo6createEfRKNS_7CCPointE; cocos2d::CCMoveTo::create(float,cocos2d::CCPoint const&) ; +0x44, 0x4cbdbc\nLDR             R1, =0x3F99999A; cocos2d::CCActionInterval *           ; +0x48, 0x4cbdc0\nBL              _ZN7cocos2d15CCEaseElasticIn6createEPNS_16CCActionIntervalEf; cocos2d::CCEaseElasticIn::create(cocos2d::CCActionInterval *,float) ; +0x4a, 0x4cbdc2\nLDR             R3, =(unk_9AC5D8 - 0x4CBDCC)                           ; +0x4e, 0x4cbdc6\nADD             R3, PC; unk_9AC5D8                                     ; +0x50, 0x4cbdc8\nMOV             R9, R0                                                 ; +0x52, 0x4cbdca\nLDM.W           R3, {R0,R1}                                            ; +0x54, 0x4cbdcc\nSTM.W           R4, {R0,R1}                                            ; +0x58, 0x4cbdd0\nMOV             R0, R6                                                 ; +0x5c, 0x4cbdd4\nLDM.W           R4, {R1,R2}                                            ; +0x5e, 0x4cbdd6\nBL              _ZN7cocos2d10CCCallFunc6createEPNS_8CCObjectEMS1_FvvE; cocos2d::CCCallFunc::create(cocos2d::CCObject *,void (cocos2d::CCObject::*)(void)) ; +0x62, 0x4cbdda\nMOV             R1, R9; cocos2d::CCFiniteTimeAction *                  ; +0x66, 0x4cbdde\nMOVS            R3, #0                                                 ; +0x68, 0x4cbde0\nMOV             R2, R0                                                 ; +0x6a, 0x4cbde2\nMOV             R0, R10; this                                          ; +0x6c, 0x4cbde4\nBL              _ZN7cocos2d10CCSequence6createEPNS_18CCFiniteTimeActionEz; cocos2d::CCSequence::create(cocos2d::CCFiniteTimeAction *,...) ; +0x6e, 0x4cbde6\nMOV             R1, R0; cocos2d::CCAction *                            ; +0x72, 0x4cbdea\nMOV             R0, R6; this                                           ; +0x74, 0x4cbdec\nBL              _ZN7cocos2d6CCNode9runActionEPNS_8CCActionE; cocos2d::CCNode::runAction(cocos2d::CCAction *) ; +0x76, 0x4cbdee\nLDR.W           R0, [R7,#0x210]; this                                  ; +0x7a, 0x4cbdf2\nMOV             R1, R8; int                                            ; +0x7e, 0x4cbdf6\nBL              _ZN7cocos2d12CCDictionary18removeObjectForKeyEi; cocos2d::CCDictionary::removeObjectForKey(int) ; +0x80, 0x4cbdf8\nLDR             R2, [SP,#0x10+var_4]                                   ; +0x84, 0x4cbdfc\nLDR             R3, [R5]                                               ; +0x86, 0x4cbdfe\nCMP             R2, R3                                                 ; +0x88, 0x4cbe00\nBEQ             loc_4CBE08                                             ; +0x8a, 0x4cbe02\nBLX             __stack_chk_fail                                       ; +0x8c, 0x4cbe04\nADD             SP, SP, #0x10                                          ; +0x90, 0x4cbe08\nPOP.W           {R4-R10,PC}                                            ; +0x92, 0x4cbe0a", "xrefs": ["ChallengesPage::challengeStatusFinished @ 0x4cd096", "ChallengesPage::claimItem @ 0x4cd14c"], "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"}