// // sub_1000168A4 from 0x1000168a4 to 0x100016970 (204 bytes) // // 3 xrefs: // > GJBaseGameLayer::activateItemEditTrigger @ 0x100297e14 // > GJBaseGameLayer::activatePersistentItemTrigger @ 0x10029821c // > GJBaseGameLayer::activatePersistentItemTrigger @ 0x1002982d0 // // 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 10:57:19 +0000 // void __fastcall sub_1000168A4(__int64 a1, int a2, double a3) { int v4; // w8 double v5; // d8 __int64 v6; // x0 void *__p; // [xsp+10h] [xbp-40h] BYREF void *v8; // [xsp+18h] [xbp-38h] __int64 v9; // [xsp+20h] [xbp-30h] unsigned int v10; // [xsp+2Ch] [xbp-24h] BYREF v4 = a2 & ~(a2 >> 31); if ( v4 >= 9999 ) v4 = 9999; v10 = v4; v5 = 9999999.0; if ( a3 <= 9999999.0 ) { v5 = a3; if ( a3 < -9999999.0 ) v5 = -9999999.0; } v6 = sub_100019268(a1 + 920, &v10); if ( v6 ) { *(double *)(v6 + 32) = v5; } else { __p = nullptr; v8 = nullptr; v9 = 0; sub_1000164B8(a1, v10, 0, 0, 1, 0, 0, (__int64)&__p, v5, 0.0, 1.0, 0, 0); if ( __p ) { v8 = __p; operator delete(__p); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source