// // LevelEditorLayer::resetEffectTriggerOptim from 0x1000c52a0 to 0x1000c5336 (150 bytes) // // 5 xrefs: // > SetupTriggerPopup::onClose @ 0x10021dbd2 // > SetupPortalPopup::onClose @ 0x10059d2e3 // > SetupPortalPopup::keyBackClicked @ 0x10059db63 // > sub_10059DB90 @ 0x10059dbbb // > ColorSelectPopup::closeColorSelect @ 0x1008064b1 // // 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:20:35 +0000 // unsigned int *__fastcall LevelEditorLayer::resetEffectTriggerOptim(__int64 a1, __int64 a2, __int64 a3) { unsigned int *result; // rax __int64 *v4; // r14 unsigned __int64 v5; // r15 __int64 v6; // rdi if ( a2 ) { if ( *(_BYTE *)(a2 + 1255) == 1 ) return (unsigned int *)sub_100278300(a2 + 1800, &dword_100BE1180); } else if ( a3 ) { result = *(unsigned int **)(a3 + 56); if ( *result ) { v4 = *((__int64 **)result + 2); v5 = (unsigned __int64)&v4[*result - 1]; do { v6 = *v4; if ( !*v4 ) break; if ( *(_BYTE *)(v6 + 1255) == 1 ) result = (unsigned int *)sub_100278300(v6 + 1800, &dword_100BE1180); ++v4; } while ( (unsigned __int64)v4 <= v5 ); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source