// // LevelPage::addSecretCoin from 0x8c5b6c to 0x8c5d34 (456 bytes) // // 2 xrefs: // > LevelSelectLayer::updatePageWithObject @ 0x8c81c4 // > @ 0x59ed8 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:56:33 +0000 // __int64 __fastcall LevelPage::addSecretCoin(LevelPage *this) { cocos2d::CCDirector *v2; // x0 const char *v3; // x1 __int64 v4; // x0 __int64 v5; // x21 __int64 (__fastcall *v6)(__int64, _BYTE *); // x20 cocos2d::CCArray *v7; // x0 cocos2d::CCSpriteFrameCache *v8; // x21 cocos2d::CCSpriteFrameCache *v9; // x23 cocos2d::CCString *v10; // x0 const char *CString; // x0 cocos2d::CCObject *v12; // x0 cocos2d::CCSpriteFrameCache *v13; // x0 cocos2d::CCSpriteFrameCache *v14; // x23 cocos2d::CCString *v15; // x0 const char *v16; // x0 cocos2d::CCObject *v17; // x0 cocos2d::CCSpriteFrameCache *v18; // x0 cocos2d::CCSpriteFrameCache *v19; // x23 cocos2d::CCString *v20; // x0 const char *v21; // x0 cocos2d::CCObject *v22; // x0 cocos2d::CCSpriteFrameCache *v23; // x0 cocos2d::CCSpriteFrameCache *v24; // x23 cocos2d::CCString *v25; // x0 const char *v26; // x0 cocos2d::CCObject *v27; // x0 cocos2d::CCArray *v28; // x1 cocos2d::CCAnimate *v29; // x0 cocos2d::CCAnimation *v30; // x1 cocos2d::CCRepeatForever *v31; // x0 cocos2d::CCActionInterval *v32; // x1 cocos2d::CCAction *v33; // x0 __int64 v35; // [xsp+58h] [xbp+58h] BYREF _BYTE v36[8]; // [xsp+60h] [xbp+60h] BYREF v2 = (cocos2d::CCDirector *)cocos2d::CCDirector::sharedDirector(_stack_chk_guard); cocos2d::CCDirector::getWinSize(&v35, v2); v4 = GameObject::createWithFrame((GameObject *)"secretCoin_01_001.png", v3); *((_QWORD *)this + 70) = v4; *(_BYTE *)(v4 + 313) = 0; (*(void (__fastcall **)(LevelPage *, _QWORD, __int64))(*(_QWORD *)this + 464LL))(this, *((_QWORD *)this + 70), 1); v5 = *((_QWORD *)this + 70); v6 = *(__int64 (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v5 + 184LL); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v36, *(float *)&v35 * 0.5, *((float *)&v35 + 1) * 0.5); v7 = (cocos2d::CCArray *)v6(v5, v36); v8 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCArray::create(v7); v9 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v8); v10 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%s_01_001.png", "secretCoin"); CString = (const char *)cocos2d::CCString::getCString(v10); v12 = (cocos2d::CCObject *)cocos2d::CCSpriteFrameCache::spriteFrameByName(v9, CString); v13 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCArray::addObject(v8, v12); v14 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v13); v15 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%s_01_002.png", "secretCoin"); v16 = (const char *)cocos2d::CCString::getCString(v15); v17 = (cocos2d::CCObject *)cocos2d::CCSpriteFrameCache::spriteFrameByName(v14, v16); v18 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCArray::addObject(v8, v17); v19 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v18); v20 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%s_01_003.png", "secretCoin"); v21 = (const char *)cocos2d::CCString::getCString(v20); v22 = (cocos2d::CCObject *)cocos2d::CCSpriteFrameCache::spriteFrameByName(v19, v21); v23 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCArray::addObject(v8, v22); v24 = (cocos2d::CCSpriteFrameCache *)cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(v23); v25 = (cocos2d::CCString *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%s_01_004.png", "secretCoin"); v26 = (const char *)cocos2d::CCString::getCString(v25); v27 = (cocos2d::CCObject *)cocos2d::CCSpriteFrameCache::spriteFrameByName(v24, v26); cocos2d::CCArray::addObject(v8, v27); v29 = (cocos2d::CCAnimate *)cocos2d::CCAnimation::createWithSpriteFrames(v8, v28, 0.115); v31 = (cocos2d::CCRepeatForever *)cocos2d::CCAnimate::create(v29, v30); v33 = (cocos2d::CCAction *)cocos2d::CCRepeatForever::create(v31, v32); cocos2d::CCNode::runAction(*((cocos2d::CCNode **)this + 70), v33); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source