// // SetIDPopup::create from 0x100297d80 to 0x100298049 (713 bytes) // // 3 xrefs: // > EditorUI::onGroupIDFilter @ 0x100010695 // > LevelBrowserLayer::onGoToPage @ 0x1004829f7 // > sub_1008CD3A0 @ 0x1008cd437 // // 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 12:27:51 +0000 // char *__fastcall SetIDPopup::create( int a1, int a2, int a3, __int128 *a4, __int128 *a5, char a6, float a7, int a8, char a9, char a10) { char *v13; // rbx double v14; // xmm0_8 char v15; // r14 __int128 v17; // [rsp+20h] [rbp-70h] BYREF void *v18; // [rsp+30h] [rbp-60h] __int128 v19; // [rsp+40h] [rbp-50h] BYREF void *__p; // [rsp+50h] [rbp-40h] float v21; // [rsp+5Ch] [rbp-34h] int v22; // [rsp+60h] [rbp-30h] int v23; // [rsp+64h] [rbp-2Ch] v21 = a7; v22 = a3; v23 = a2; v13 = (char *)operator new(0x2C0u); cocos2d::CCLayerColor::CCLayerColor(v13); *(_QWORD *)v13 = off_100B4FB70; *((_QWORD *)v13 + 40) = off_100B500C0; *((_QWORD *)v13 + 41) = &off_100B50130; *((_QWORD *)v13 + 42) = off_100B50148; *((_QWORD *)v13 + 43) = off_100B50168; *((_QWORD *)v13 + 44) = off_100B50190; *((_QWORD *)v13 + 51) = off_100B501C0; *((_QWORD *)v13 + 54) = off_100B50240; *((_QWORD *)v13 + 68) = off_100B50260; *(_OWORD *)(v13 + 552) = 0; *(_OWORD *)(v13 + 561) = 0; *(_OWORD *)(v13 + 584) = 0; sub_1002782A0((_QWORD *)v13 + 75); *((_OWORD *)v13 + 38) = 0; *((_QWORD *)v13 + 78) = 0; *((_DWORD *)v13 + 158) = -1; *((_WORD *)v13 + 318) = 0; *((_DWORD *)v13 + 160) = -1; v13[644] = 0; *((_QWORD *)v13 + 81) = 0; v13[656] = 0; *(_QWORD *)v13 = off_100B02D28; *((_QWORD *)v13 + 40) = off_100B03290; *((_QWORD *)v13 + 41) = &off_100B03300; *((_QWORD *)v13 + 42) = off_100B03318; *((_QWORD *)v13 + 43) = off_100B03338; *((_QWORD *)v13 + 44) = off_100B03360; *((_QWORD *)v13 + 51) = off_100B03390; *((_QWORD *)v13 + 54) = off_100B03410; *((_QWORD *)v13 + 68) = off_100B03430; *((_DWORD *)v13 + 170) = 0; *(_QWORD *)(v13 + 670) = 0; *((_QWORD *)v13 + 83) = 0; *(_QWORD *)(v13 + 684) = 1000; *((_QWORD *)v13 + 87) = 0; if ( (*(_BYTE *)a4 & 1) != 0 ) { sub_10001AD30(&v17, *((const void **)a4 + 2), *((_QWORD *)a4 + 1)); if ( (*(_BYTE *)a5 & 1) != 0 ) goto LABEL_3; } else { v18 = *((void **)a4 + 2); v17 = *a4; if ( (*(_BYTE *)a5 & 1) != 0 ) { LABEL_3: sub_10001AD30(&v19, *((const void **)a5 + 2), *((_QWORD *)a5 + 1)); goto LABEL_6; } } __p = *((void **)a5 + 2); v19 = *a5; LABEL_6: *(_QWORD *)&v14 = LODWORD(v21); v15 = SetIDPopup::init((_DWORD)v13, a1, v23, v22, (unsigned int)&v17, (unsigned int)&v19, a6, a8, a9, a10); if ( (v19 & 1) == 0 ) { if ( (v17 & 1) == 0 ) goto LABEL_8; LABEL_11: operator delete(v18); if ( v15 ) goto LABEL_9; LABEL_12: (*(void (__fastcall **)(char *, double))(*(_QWORD *)v13 + 16LL))(v13, v14); return nullptr; } operator delete(__p); if ( (v17 & 1) != 0 ) goto LABEL_11; LABEL_8: if ( !v15 ) goto LABEL_12; LABEL_9: cocos2d::CCObject::autorelease(v13); return v13; }
GD Web Decomp Icon

GD Web Decomp

Raw Source