// // sub_100394684 from 0x100394684 to 0x1003949b0 (812 bytes) // // 1 xrefs: // > EndLevelLayer::showLayer @ 0x100394194 // // 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:03:39 +0000 // __int64 __fastcall sub_100394684(__int64 result, float a2) { __int64 v2; // x8 __int64 v3; // x22 int v4; // w8 __int64 v6; // x0 void *v7; // x21 void *v8; // x19 void *v9; // x0 const char *CString; // x0 _DWORD *v11; // x20 float32x2_t *v12; // x23 double v13; // d0 __n128 v14; // q0 char v15; // w22 float *v16; // x0 float *v17; // x0 __int64 v18; // x1 __int64 v19; // x2 __int64 v20; // x3 __int64 v21; // x4 __int64 v22; // x5 __int64 v23; // x6 __int64 v24; // x7 __int64 v25; // x0 float *v26; // x0 __int64 v27; // x1 __int64 v28; // x2 __int64 v29; // x3 __int64 v30; // x4 __int64 v31; // x5 __int64 v32; // x6 __int64 v33; // x7 __int64 v34; // x0 float *v35; // x21 char v36; // w0 __int64 v37; // x1 __int64 v38; // x2 __int64 v39; // x3 __int64 v40; // x4 __int64 v41; // x5 __int64 v42; // x6 __int64 v43; // x7 __int64 v44; // x21 float *v45; // x22 char v46; // w0 __int64 v47; // x1 __int64 v48; // x2 __int64 v49; // x3 __int64 v50; // x4 __int64 v51; // x5 __int64 v52; // x6 __int64 v53; // x7 __int64 v54; // x22 float *v55; // x23 char v56; // w0 __int64 v57; // x1 __int64 v58; // x2 __int64 v59; // x3 __int64 v60; // x4 __int64 v61; // x5 __int64 v62; // x6 __int64 v63; // x7 float32x2_t v64; // [xsp+18h] [xbp-58h] BYREF float32x2_t v65; // [xsp+20h] [xbp-50h] BYREF __int64 v66; // [xsp+28h] [xbp-48h] BYREF v2 = *(_QWORD *)(result + 608); if ( v2 ) { v3 = result; v4 = *(_DWORD *)(v2 + 14648); *(_DWORD *)(result + 664) = v4; if ( v4 >= 1 ) { v6 = cocos2d::CCDirector::sharedDirector(); cocos2d::CCDirector::getWinSize(v6, &v66); v7 = cocos2d::CCNode::create(); (*(void (__fastcall **)(_QWORD, void *, __int64))(**(_QWORD **)(v3 + 576) + 464LL))(*(_QWORD *)(v3 + 576), v7, 10); v8 = cocos2d::CCSprite::createWithSpriteFrameName((__int64)"currencyOrbIcon_001.png"); (*(void (__fastcall **)(void *, void *))(*(_QWORD *)v7 + 456LL))(v7, v8); (*(void (__fastcall **)(void *, float))(*(_QWORD *)v8 + 160LL))(v8, 1.25); sub_1000262BC((float *)&v65, 15.0, 0.0); (*(void (__fastcall **)(void *, float32x2_t *))(*(_QWORD *)v8 + 184LL))(v8, &v65); v9 = sub_1003065B0("+%i", *(_DWORD *)(v3 + 664)); CString = (const char *)cocos2d::CCString::getCString((__int64)v9); v11 = (_DWORD *)cocos2d::CCLabelBMFont::create_1(CString, "bigFont.fnt"); sub_1000262BC((float *)&v65, 1.0, 0.5); (*(void (__fastcall **)(_DWORD *, float32x2_t *))(*(_QWORD *)v11 + 296LL))(v11, &v65); (*(void (__fastcall **)(void *, _DWORD *))(*(_QWORD *)v7 + 456LL))(v7, v11); sub_1000262BC((float *)&v65, -2.0, -16.0); (*(void (__fastcall **)(_DWORD *, float32x2_t *))(*(_QWORD *)v11 + 184LL))(v11, &v65); v12 = (float32x2_t *)(*(__int64 (__fastcall **)(void *))(*(_QWORD *)v8 + 192LL))(v8); sub_1000262BC((float *)&v64, -20.0, 0.0); *(float32x2_t *)&v13 = sub_100026318(v12, &v64, &v65); (*(void (__fastcall **)(_DWORD *, float32x2_t *, double))(*(_QWORD *)v11 + 184LL))(v11, &v65, v13); (*(void (__fastcall **)(_DWORD *, float))(*(_QWORD *)v11 + 160LL))(v11, 0.7); v11[7] = 4; v14 = cocos2d::CCLabelBMFont::limitLabelWidth(v11, 40.0, 0.7, 0.0); (*(void (__fastcall **)(void *, __int64, __n128))(*(_QWORD *)v7 + 184LL))(v7, v3 + 648, v14); (*(void (__fastcall **)(void *, float))(*(_QWORD *)v7 + 160LL))(v7, 3.0); v15 = (unsigned __int8)cocos2d::CCCallFunc::create(v3, (__int64)sub_1003952C0, 0); v16 = cocos2d::CCScaleTo::create_1(0.3, 1.0); LOBYTE(v12) = (unsigned __int8)cocos2d::CCEaseBounceOut::create((__int64)v16); v17 = cocos2d::CCDelayTime::create(a2); v25 = sub_10021D420((__int64)v17, v18, v19, v20, v21, v22, v23, v24, (char)v12); cocos2d::CCNode::runAction((__int64)v7, v25); v26 = cocos2d::CCDelayTime::create(a2 + 0.2); v34 = sub_10021D420((__int64)v26, v27, v28, v29, v30, v31, v32, v33, v15); cocos2d::CCNode::runAction((__int64)v7, v34); (*(void (__fastcall **)(void *, _QWORD))(*(_QWORD *)v8 + 912LL))(v8, 0); (*(void (__fastcall **)(_DWORD *, _QWORD))(*(_QWORD *)v11 + 1024LL))(v11, 0); v35 = cocos2d::CCDelayTime::create(a2); v36 = (unsigned __int8)cocos2d::CCFadeIn::create(0.3); v44 = sub_10021D420((__int64)v35, v37, v38, v39, v40, v41, v42, v43, v36); v45 = cocos2d::CCDelayTime::create(a2); v46 = (unsigned __int8)cocos2d::CCFadeIn::create(0.3); v54 = sub_10021D420((__int64)v45, v47, v48, v49, v50, v51, v52, v53, v46); v55 = cocos2d::CCDelayTime::create(a2); v56 = (unsigned __int8)cocos2d::CCFadeIn::create(0.3); sub_10021D420((__int64)v55, v57, v58, v59, v60, v61, v62, v63, v56); cocos2d::CCNode::runAction((__int64)v8, v44); return cocos2d::CCNode::runAction((__int64)v11, v54); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source