// // sub_1401108B0 from 0x1401108b0 to 0x140110c45 (917 bytes) // // 5 xrefs: // > DeathHistogram::setData @ 0x1401120ad // > DeathHistogram::setSurvival @ 0x1401128e0 // > DeathHistogram::setSurvival @ 0x140112c73 // > DeathHistogram::setProgression @ 0x140114635 // > @ 0x140915dc4 // // This function is hookable on this platform (idp: pc, 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:26:49 +0000 // __int64 __fastcall sub_1401108B0(__int64 a1, float a2, float a3, __int64 a4, float a5, __int64 a6) { struct cocos2d::CCSprite *v7; // rdi __int64 v8; // rbx __int64 v9; // rax __int64 v10; // rbx float v11; // xmm10_4 __int64 v12; // rbx __int64 v13; // rax struct cocos2d::CCSprite *v14; // rdi __int64 v15; // rbx __int64 v16; // rax __int64 v17; // rbx __int64 v18; // rsi __int64 v19; // rbx __int64 v20; // rax struct cocos2d::CCSprite *v21; // rdi __int64 v22; // rbx __int64 v23; // rax __int64 v24; // rdx int v25; // r9d int v26; // eax __int64 v27; // rbx __int64 v28; // rax char v30; // [rsp+90h] [rbp+8h] BYREF __int16 v31; // [rsp+A0h] [rbp+18h] v7 = cocos2d::CCSprite::createWithSpriteFrameName("whiteSquare60_001.png"); v8 = *(_QWORD *)v7; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v30, 0.5, 0.0); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v8 + 288))(v7, v9); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v7 + 320LL))(v7); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v7 + 120LL))(v7); v10 = *(_QWORD *)v7; v11 = a5; (*(__int64 (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v7 + 320LL))(v7); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(v10 + 136))(v7); (**((void (__fastcall ***)(__int64, void *))v7 + 40))((__int64)v7 + 320, &unk_140702EF4); v12 = *(_QWORD *)v7; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v30, a2, a3 - 2.0); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v12 + 184))(v7, v13); (*(void (__fastcall **)(__int64, struct cocos2d::CCSprite *))(*(_QWORD *)a1 + 464LL))(a1, v7); v14 = cocos2d::CCSprite::createWithSpriteFrameName("whiteSquare60_001.png"); v15 = *(_QWORD *)v14; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v30, 0.5, 0.0); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v15 + 288))(v14, v16); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v14 + 320LL))(v14); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v14 + 120LL))(v14); v17 = *(_QWORD *)v14; (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v14 + 320LL))(v14); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(v17 + 136))(v14); v18 = a6; (**((void (__fastcall ***)(__int64, __int64))v14 + 40))((__int64)v14 + 320, a6); v19 = *(_QWORD *)v14; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&a6, a2, a3); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v19 + 184))(v14, v20); (*(void (__fastcall **)(__int64, struct cocos2d::CCSprite *))(*(_QWORD *)a1 + 464LL))(a1, v14); v21 = cocos2d::CCSprite::createWithSpriteFrameName("gradientBar.png"); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v21 + 352LL))(v21); v22 = *(_QWORD *)v21; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&a6, 1.0, 0.5); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v22 + 288))(v21, v23); LOBYTE(v24) = -56; (*(void (__fastcall **)(__int64, __int64))(*((_QWORD *)v21 + 40) + 40LL))((__int64)v21 + 320, v24); a6 = 0x100000302LL; (**((void (__fastcall ***)(__int64, __int64))v21 + 43))((__int64)v21 + 344, 0x100000302LL); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v21 + 120LL))(v21); (*(void (__fastcall **)(struct cocos2d::CCSprite *))(*(_QWORD *)v21 + 136LL))(v21); v25 = *(unsigned __int8 *)(v18 + 2); v26 = 255 - (unsigned __int8)*(_WORD *)v18; v31 = *(_WORD *)v18; LOBYTE(a5) = v31 + v26 / 2; BYTE1(a5) = HIBYTE(v31) + (235 - HIBYTE(v31)) / 2; BYTE2(a5) = v25 + (120 - v25) / 2; (**((void (__fastcall ***)(__int64, float *))v21 + 40))((__int64)v21 + 320, &a5); v27 = *(_QWORD *)v21; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&a6, a2, a3 + v11); (*(void (__fastcall **)(struct cocos2d::CCSprite *, __int64))(v27 + 184))(v21, v28); return (*(__int64 (__fastcall **)(__int64, struct cocos2d::CCSprite *))(*(_QWORD *)a1 + 464LL))(a1, v21); }
GD Web Decomp Icon

GD Web Decomp

Raw Source