// // CurrencyRewardLayer::create from 0x9123f8 to 0x912628 (560 bytes) // // 10 xrefs: // > PlayLayer::showNewBest @ 0x5caff4 // > PlayLayer::showNewBest @ 0x5cb394 // > GJGarageLayer::dialogClosed @ 0x794b00 // > EndLevelLayer::playEndEffect @ 0x7d4e28 // > ChallengesPage::claimItem @ 0x908dd8 // > DailyLevelPage::claimLevelReward @ 0x9157e0 // > RewardUnlockLayer::playRewardEffect @ 0x938f44 // > RewardUnlockLayer::playRewardEffect @ 0x938fe8 // > LevelListLayer::onClaimReward @ 0xa73a00 // > @ 0x9d2d8 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // local variable allocation has failed, the output may be wrong! CurrencyRewardLayer *CurrencyRewardLayer::create( int a1, int a2, int a3, int a4, CurrencySpriteType a5, int a6, CurrencySpriteType a7, int a8, cocos2d::CCPoint a9, const cocos2d::CCPoint *a10, float a11, float a12) { float x; // s9 float y; // s8 __int64 v21; // x19 float v22; // s2 float v23; // s3 __int64 v24; // x1 __int64 v25; // x0 cocos2d::CCPoint v28; // [xsp+A0h] [xbp+80h] BYREF cocos2d::CCPoint v29; // 0:s0.4,4:s1.4 x = a9.x; y = a9.y; v21 = operator new(0x280u); cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v21); *(_QWORD *)(v21 + 408) = 0; *(_QWORD *)v21 = &off_11AA150; *(_QWORD *)(v21 + 320) = off_11AA5D0; *(_DWORD *)(v21 + 560) = 0; *(_QWORD *)(v21 + 328) = &off_11AA640; *(_DWORD *)(v21 + 564) = 0; *(_QWORD *)(v21 + 336) = off_11AA658; *(_QWORD *)(v21 + 344) = &off_11AA678; *(_QWORD *)(v21 + 352) = off_11AA698; *(_QWORD *)(v21 + 416) = 0; *(_QWORD *)(v21 + 424) = 0; *(_QWORD *)(v21 + 432) = 0; *(_QWORD *)(v21 + 448) = 0; *(_QWORD *)(v21 + 456) = 0; *(_QWORD *)(v21 + 464) = 0; *(_QWORD *)(v21 + 472) = 0; *(_QWORD *)(v21 + 480) = 0; *(_QWORD *)(v21 + 496) = 0; *(_QWORD *)(v21 + 504) = 0; *(_QWORD *)(v21 + 512) = 0; *(_QWORD *)(v21 + 520) = 0; *(_QWORD *)(v21 + 528) = 0; *(_DWORD *)(v21 + 536) = 0; *(_DWORD *)(v21 + 540) = 0; *(_DWORD *)(v21 + 544) = 0; *(_DWORD *)(v21 + 548) = 0; *(_DWORD *)(v21 + 552) = 0; *(_DWORD *)(v21 + 556) = 0; *(float *)(v21 + 568) = 1.0; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v21 + 572)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v21 + 580)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v21 + 588)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v21 + 596)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v21 + 604)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v21 + 612)); *(_BYTE *)(v21 + 620) = 0; *(_BYTE *)(v21 + 621) = 0; *(_QWORD *)(v21 + 624) = 0; *(_DWORD *)(v21 + 632) = 0; *(_DWORD *)(v21 + 636) = 0; cocos2d::CCPoint::CCPoint(&v28, a10); v29.x = x; v29.y = y; if ( CurrencyRewardLayer::init( (CurrencyRewardLayer *)v21, a1, a2, a3, a4, a5, a6, a7, a8, v29, (CurrencyRewardType)&v28, v22, v23) ) { cocos2d::CCObject::autorelease((cocos2d::CCObject *)v21); } else { v24 = *(_QWORD *)v21; v25 = v21; v21 = 0; (*(void (__fastcall **)(__int64))(v24 + 16))(v25); } return (CurrencyRewardLayer *)v21; }
GD Web Decomp Icon

GD Web Decomp

Raw Source