// // sub_10036EA40 from 0x10036ea40 to 0x10036f368 (2344 bytes) // // 35 xrefs: // > sub_10036D110 @ 0x10036d144 // > sub_10036D1A0 @ 0x10036d1d4 // > sub_10036D38C @ 0x10036d3c0 // > sub_10036D38C @ 0x10036d3e4 // > sub_10036D38C @ 0x10036d408 // > sub_10036DDF4 @ 0x10036de30 // > sub_10036DE34 @ 0x10036de50 // > sub_10036DE54 @ 0x10036de70 // > sub_10036DE74 @ 0x10036de90 // > sub_10036DE94 @ 0x10036ded0 // > sub_10036DED4 @ 0x10036def0 // > sub_10036E130 @ 0x10036e15c // > sub_10036E1EC @ 0x10036e208 // > sub_10036E20C @ 0x10036e228 // > sub_10036E22C @ 0x10036e248 // > sub_10036E24C @ 0x10036e324 // > sub_10036E784 @ 0x10036e814 // > sub_10036E914 @ 0x10036e930 // > sub_10036E95C @ 0x10036e978 // > sub_10036E9A4 @ 0x10036ea10 // > sub_10036EA40 @ 0x10036f340 // > CreateParticlePopup::colorSelectClosed @ 0x10036f4c4 // > CreateParticlePopup::colorSelectClosed @ 0x10036f4d8 // > CreateParticlePopup::colorSelectClosed @ 0x10036f4ec // > CreateParticlePopup::colorSelectClosed @ 0x10036f5d4 // > CreateParticlePopup::colorSelectClosed @ 0x10036f5e8 // > CreateParticlePopup::colorSelectClosed @ 0x10036f5fc // > CreateParticlePopup::textChanged @ 0x10036faf0 // > CreateParticlePopup::ccTouchMoved @ 0x1003702b8 // > CreateParticlePopup::ccTouchMoved @ 0x1003702d0 // > CreateParticlePopup::ccTouchMoved @ 0x10037034c // > CreateParticlePopup::ccTouchMoved @ 0x100370360 // > CreateParticlePopup::ccTouchMoved @ 0x1003703ec // > CreateParticlePopup::ccTouchMoved @ 0x100370474 // > CreateParticlePopup::ccTouchMoved @ 0x1003704dc // // 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:22 +0000 // __int64 __fastcall sub_10036EA40(__int64 result, __int64 a2, __int64 a3, __n128 a4) { float v6; // s8 __int64 v7; // x19 __int64 v8; // x22 __int64 (__fastcall *v9)(__int64, __n128); // x8 float v10; // s9 float v11; // s10 float v12; // s0 float v13; // s9 float v14; // s10 float v15; // s9 float v16; // s10 float v17; // s0 float v18; // s9 float v19; // s10 float v20; // s0 float v21; // s9 float v22; // s9 float v23; // s1 float v24; // s0 float v25; // s9 float v26; // s10 float v27; // s0 float v28; // s1 float v29; // s0 float v30; // s9 float v31; // s9 float v32; // s10 float v33; // s0 __int64 v34; // x0 float v35; // s9 float v36; // s10 float v37; // s0 float v38; // s9 float v39; // s10 float v40; // s0 float v41; // s9 float v42; // s10 float v43; // s0 float v44; // s9 float v45; // s10 float v46; // s9 float v47; // s10 float v48; // s9 float v49; // s10 float v50; // s9 unsigned int v51; // w8 __int64 v52; // x23 unsigned int v53; // w21 __int64 v54; // x0 float v55; // [xsp+0h] [xbp-60h] BYREF float v56; // [xsp+4h] [xbp-5Ch] float v57; // [xsp+8h] [xbp-58h] float v58; // [xsp+Ch] [xbp-54h] v6 = a4.n128_f32[0]; v7 = result; v8 = a3; if ( !a3 ) v8 = *(_QWORD *)(result + 712); switch ( (int)a2 ) { case 1: result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v8 + 1504LL))(v8, (unsigned int)a4.n128_f32[0]); goto LABEL_93; case 2: v9 = *(__int64 (__fastcall **)(__int64, __n128))(*(_QWORD *)v8 + 928LL); goto LABEL_91; case 3: v9 = *(__int64 (__fastcall **)(__int64, __n128))(*(_QWORD *)v8 + 976LL); goto LABEL_91; case 4: v9 = *(__int64 (__fastcall **)(__int64, __n128))(*(_QWORD *)v8 + 992LL); goto LABEL_91; case 5: v9 = *(__int64 (__fastcall **)(__int64, __n128))(*(_QWORD *)v8 + 1488LL); goto LABEL_91; case 6: a4.n128_f32[0] = -a4.n128_f32[0]; v9 = *(__int64 (__fastcall **)(__int64, __n128))(*(_QWORD *)v8 + 1008LL); goto LABEL_53; case 7: v9 = *(__int64 (__fastcall **)(__int64, __n128))(*(_QWORD *)v8 + 1024LL); goto LABEL_91; case 8: v9 = *(__int64 (__fastcall **)(__int64, __n128))(*(_QWORD *)v8 + 1064LL); goto LABEL_91; case 9: v9 = *(__int64 (__fastcall **)(__int64, __n128))(*(_QWORD *)v8 + 1080LL); goto LABEL_91; case 10: v28 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 952LL))(v8) + 4); v29 = v6; goto LABEL_61; case 11: v29 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 952LL))(v8); v28 = v6; LABEL_61: sub_1000262BC(&v55, v29, v28); result = (*(__int64 (__fastcall **)(__int64, float *))(*(_QWORD *)v8 + 960LL))(v8, &v55); goto LABEL_93; case 12: v23 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1040LL))(v8) + 4); v24 = v6; goto LABEL_36; case 13: v24 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1040LL))(v8); v23 = v6; LABEL_36: sub_1000262BC(&v55, v24, v23); result = (*(__int64 (__fastcall **)(__int64, float *))(*(_QWORD *)v8 + 1048LL))(v8, &v55); goto LABEL_93; case 14: v9 = *(__int64 (__fastcall **)(__int64, __n128))(*(_QWORD *)v8 + 1128LL); goto LABEL_91; case 15: v9 = *(__int64 (__fastcall **)(__int64, __n128))(*(_QWORD *)v8 + 1144LL); goto LABEL_91; case 16: v9 = *(__int64 (__fastcall **)(__int64, __n128))(*(_QWORD *)v8 + 1096LL); goto LABEL_91; case 17: v9 = *(__int64 (__fastcall **)(__int64, __n128))(*(_QWORD *)v8 + 1112LL); goto LABEL_91; case 18: v9 = *(__int64 (__fastcall **)(__int64, __n128))(*(_QWORD *)v8 + 1296LL); goto LABEL_91; case 19: v9 = *(__int64 (__fastcall **)(__int64, __n128))(*(_QWORD *)v8 + 1312LL); goto LABEL_91; case 20: v9 = *(__int64 (__fastcall **)(__int64, __n128))(*(_QWORD *)v8 + 1328LL); goto LABEL_91; case 21: v9 = *(__int64 (__fastcall **)(__int64, __n128))(*(_QWORD *)v8 + 1344LL); goto LABEL_91; case 22: v9 = *(__int64 (__fastcall **)(__int64, __n128))(*(_QWORD *)v8 + 1424LL); goto LABEL_91; case 23: v9 = *(__int64 (__fastcall **)(__int64, __n128))(*(_QWORD *)v8 + 1440LL); goto LABEL_91; case 24: v9 = *(__int64 (__fastcall **)(__int64, __n128))(*(_QWORD *)v8 + 1456LL); goto LABEL_91; case 25: v9 = *(__int64 (__fastcall **)(__int64, __n128))(*(_QWORD *)v8 + 1472LL); goto LABEL_91; case 26: v30 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1352LL))(v8) + 4); v19 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1352LL))(v8) + 8); v20 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1352LL))(v8) + 12); v55 = v6; v56 = v30; goto LABEL_39; case 27: v50 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1368LL))(v8) + 4); v45 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1368LL))(v8) + 8); v37 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1368LL))(v8) + 12); v55 = v6; v56 = v50; goto LABEL_83; case 28: v18 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1352LL))(v8); v19 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1352LL))(v8) + 8); v20 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1352LL))(v8) + 12); v55 = v18; v56 = v6; LABEL_39: v57 = v19; goto LABEL_77; case 29: v44 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1368LL))(v8); v45 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1368LL))(v8) + 8); v37 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1368LL))(v8) + 12); v55 = v44; v56 = v6; LABEL_83: v57 = v45; goto LABEL_84; case 30: v46 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1352LL))(v8); v47 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1352LL))(v8) + 4); v20 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1352LL))(v8) + 12); v55 = v46; v56 = v47; v57 = v6; LABEL_77: v58 = v20; goto LABEL_78; case 31: v35 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1368LL))(v8); v36 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1368LL))(v8) + 4); v37 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1368LL))(v8) + 12); v55 = v35; v56 = v36; v57 = v6; LABEL_84: v58 = v37; goto LABEL_85; case 32: v31 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1352LL))(v8); v32 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1352LL))(v8) + 4); v33 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1352LL))(v8) + 8); v55 = v31; v56 = v32; v57 = v33; v58 = v6; LABEL_78: result = (*(__int64 (__fastcall **)(__int64, float *))(*(_QWORD *)v8 + 1360LL))(v8, &v55); goto LABEL_93; case 33: v38 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1368LL))(v8); v39 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1368LL))(v8) + 4); v40 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1368LL))(v8) + 8); v55 = v38; v56 = v39; v57 = v40; v58 = v6; LABEL_85: result = (*(__int64 (__fastcall **)(__int64, float *))(*(_QWORD *)v8 + 1376LL))(v8, &v55); goto LABEL_93; case 34: v22 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1384LL))(v8) + 4); v14 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1384LL))(v8) + 8); v12 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1384LL))(v8) + 12); v55 = v6; v56 = v22; goto LABEL_25; case 35: v21 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1400LL))(v8) + 4); v16 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1400LL))(v8) + 8); v17 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1400LL))(v8) + 12); v55 = v6; v56 = v21; goto LABEL_19; case 36: v13 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1384LL))(v8); v14 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1384LL))(v8) + 8); v12 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1384LL))(v8) + 12); v55 = v13; v56 = v6; LABEL_25: v57 = v14; goto LABEL_26; case 37: v15 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1400LL))(v8); v16 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1400LL))(v8) + 8); v17 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1400LL))(v8) + 12); v55 = v15; v56 = v6; LABEL_19: v57 = v16; goto LABEL_80; case 38: v10 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1384LL))(v8); v11 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1384LL))(v8) + 4); v12 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1384LL))(v8) + 12); v55 = v10; v56 = v11; v57 = v6; LABEL_26: v58 = v12; goto LABEL_68; case 39: v48 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1400LL))(v8); v49 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1400LL))(v8) + 4); v17 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1400LL))(v8) + 12); v55 = v48; v56 = v49; v57 = v6; LABEL_80: v58 = v17; goto LABEL_81; case 40: v41 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1384LL))(v8); v42 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1384LL))(v8) + 4); v43 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1384LL))(v8) + 8); v55 = v41; v56 = v42; v57 = v43; v58 = v6; LABEL_68: result = (*(__int64 (__fastcall **)(__int64, float *))(*(_QWORD *)v8 + 1392LL))(v8, &v55); goto LABEL_93; case 41: v25 = *(float *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1400LL))(v8); v26 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1400LL))(v8) + 4); v27 = *(float *)((*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 1400LL))(v8) + 8); v55 = v25; v56 = v26; v57 = v27; v58 = v6; LABEL_81: result = (*(__int64 (__fastcall **)(__int64, float *))(*(_QWORD *)v8 + 1408LL))(v8, &v55); goto LABEL_93; case 42: *(_DWORD *)(v8 + 496) = a4.n128_u32[0]; goto LABEL_93; case 43: *(_DWORD *)(v8 + 500) = a4.n128_u32[0]; goto LABEL_93; case 44: *(_DWORD *)(v8 + 504) = a4.n128_u32[0]; goto LABEL_93; case 45: *(_DWORD *)(v8 + 508) = a4.n128_u32[0]; goto LABEL_93; case 46: *(_DWORD *)(v8 + 512) = a4.n128_u32[0]; goto LABEL_93; case 47: *(_DWORD *)(v8 + 516) = a4.n128_u32[0]; goto LABEL_93; case 48: *(_DWORD *)(v8 + 536) = a4.n128_u32[0]; goto LABEL_93; case 49: *(_DWORD *)(v8 + 540) = a4.n128_u32[0]; goto LABEL_93; case 50: v9 = *(__int64 (__fastcall **)(__int64, __n128))(*(_QWORD *)v8 + 1176LL); goto LABEL_91; case 51: v9 = *(__int64 (__fastcall **)(__int64, __n128))(*(_QWORD *)v8 + 1192LL); goto LABEL_91; case 52: v9 = *(__int64 (__fastcall **)(__int64, __n128))(*(_QWORD *)v8 + 1208LL); goto LABEL_91; case 53: v9 = *(__int64 (__fastcall **)(__int64, __n128))(*(_QWORD *)v8 + 1224LL); goto LABEL_91; case 54: a4.n128_f32[0] = -a4.n128_f32[0]; v9 = *(__int64 (__fastcall **)(__int64, __n128))(*(_QWORD *)v8 + 1240LL); LABEL_53: v34 = v8; goto LABEL_92; case 55: v9 = *(__int64 (__fastcall **)(__int64, __n128))(*(_QWORD *)v8 + 1256LL); LABEL_91: v34 = v8; LABEL_92: result = v9(v34, a4); goto LABEL_93; case 56: *(_BYTE *)(v8 + 740) = a4.n128_f32[0] != 0.0; goto LABEL_93; case 57: result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v8 + 1568LL))( v8, (unsigned int)(int)a4.n128_f32[0]); goto LABEL_93; case 58: (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v8 + 1280LL))(v8, a4.n128_f32[0] != 0.0); result = (*(__int64 (__fastcall **)(__int64, __int64))(*(_QWORD *)v8 + 1552LL))(v8, 1); goto LABEL_93; case 59: *(_BYTE *)(v8 + 544) = a4.n128_f32[0] != 0.0; goto LABEL_93; case 60: result = (*(__int64 (__fastcall **)(__int64, bool))(*(_QWORD *)v8 + 1160LL))(v8, a4.n128_f32[0] != 0.0); goto LABEL_93; case 61: *(_BYTE *)(v8 + 547) = a4.n128_f32[0] != 0.0; goto LABEL_93; case 62: result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v8 + 1600LL))( v8, (unsigned int)(int)a4.n128_f32[0]); goto LABEL_93; case 63: *(_WORD *)(v8 + 836) = (int)a4.n128_f32[0]; goto LABEL_93; case 64: *(_BYTE *)(v8 + 548) = a4.n128_f32[0] != 0.0; goto LABEL_93; case 65: *(_BYTE *)(v8 + 545) = a4.n128_f32[0] != 0.0; goto LABEL_93; case 66: *(_BYTE *)(v8 + 546) = a4.n128_f32[0] != 0.0; goto LABEL_93; case 67: *(_BYTE *)(v8 + 549) = a4.n128_f32[0] != 0.0; goto LABEL_93; case 68: *(_BYTE *)(v8 + 550) = a4.n128_f32[0] != 0.0; goto LABEL_93; case 69: *(_DWORD *)(*(_QWORD *)(result + 712) + 520LL) = a4.n128_u32[0]; return result; case 70: *(_DWORD *)(*(_QWORD *)(result + 712) + 524LL) = a4.n128_u32[0]; return result; case 71: *(_DWORD *)(*(_QWORD *)(result + 712) + 528LL) = a4.n128_u32[0]; return result; case 72: *(_DWORD *)(*(_QWORD *)(result + 712) + 532LL) = a4.n128_u32[0]; return result; default: LABEL_93: if ( *(_BYTE *)(v8 + 740) == 1 ) { v51 = a2 - 26; if ( (unsigned int)(a2 - 26) <= 0xE && ((0x5555u >> v51) & 1) != 0 ) { v52 = qword_10076D460[v51]; result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + qword_10076D3E8[v51]))(v8); *(_OWORD *)(v8 + v52) = *(_OWORD *)result; } } if ( !a3 ) { result = *(_QWORD *)(v7 + 696); if ( result ) { result = sub_1002E757C(result); if ( (_DWORD)result ) { v53 = 0; do { v54 = sub_1002E75A0(*(_QWORD *)(v7 + 696), v53); sub_10036EA40(v7, a2, v54, v6); ++v53; result = sub_1002E757C(*(_QWORD *)(v7 + 696)); } while ( v53 < (unsigned int)result ); } } } return result; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source