// // LevelPage::addSecretCoin from 0x100483d08 to 0x100483ea0 (408 bytes) // // 1 xrefs: // > LevelSelectLayer::updatePageWithObject @ 0x100482dbc // // 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 11:05:48 +0000 // __int64 __fastcall LevelPage::addSecretCoin(__int64 *a1) { __int64 v2; // x0 _BYTE *v3; // x0 __int64 v4; // x20 _QWORD *v5; // x20 __int64 v6; // x21 void *v7; // x0 char *CString; // x0 __int64 v9; // x21 void *v10; // x0 char *v11; // x0 __int64 v12; // x21 void *v13; // x0 char *v14; // x0 __int64 v15; // x21 void *v16; // x0 char *v17; // x0 _QWORD *v18; // x0 void *v19; // x0 _DWORD *v20; // x0 float v22; // [xsp+10h] [xbp-30h] BYREF __int64 v23; // [xsp+18h] [xbp-28h] BYREF v2 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(v2, &v23); v3 = GameObject::createWithFrame((__int64)"secretCoin_01_001.png"); a1[70] = (__int64)v3; v3[313] = 0; (*(void (__fastcall **)(__int64 *, _BYTE *, __int64))(*a1 + 464))(a1, v3, 1); v4 = a1[70]; sub_1000262BC(&v22, *(float *)&v23 * 0.5, *((float *)&v23 + 1) * 0.5); (*(void (__fastcall **)(__int64, float *))(*(_QWORD *)v4 + 184LL))(v4, &v22); v5 = sub_1002E736C(); v6 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v7 = sub_1003065B0("%s_01_001.png", "secretCoin"); CString = (char *)cocos2d::CCString::getCString((__int64)v7); cocos2d::CCSpriteFrameCache::spriteFrameByName(v6, CString); sub_1002E74E0((__int64)v5); v9 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v10 = sub_1003065B0("%s_01_002.png", "secretCoin"); v11 = (char *)cocos2d::CCString::getCString((__int64)v10); cocos2d::CCSpriteFrameCache::spriteFrameByName(v9, v11); sub_1002E74E0((__int64)v5); v12 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v13 = sub_1003065B0("%s_01_003.png", "secretCoin"); v14 = (char *)cocos2d::CCString::getCString((__int64)v13); cocos2d::CCSpriteFrameCache::spriteFrameByName(v12, v14); sub_1002E74E0((__int64)v5); v15 = cocos2d::CCSpriteFrameCache::sharedSpriteFrameCache(); v16 = sub_1003065B0("%s_01_004.png", "secretCoin"); v17 = (char *)cocos2d::CCString::getCString((__int64)v16); cocos2d::CCSpriteFrameCache::spriteFrameByName(v15, v17); sub_1002E74E0((__int64)v5); v18 = cocos2d::CCAnimation::createWithSpriteFrames((__int64)v5, 0.115); v19 = cocos2d::CCAnimate::create((__int64)v18); v20 = cocos2d::CCRepeatForever::create((__int64)v19); return cocos2d::CCNode::runAction(a1[70], (__int64)v20); }
GD Web Decomp Icon

GD Web Decomp

Raw Source