// // GJBaseGameLayer::performMathRounding from 0x476190 to 0x4761b0 (32 bytes) // // 4 xrefs: // > GJBaseGameLayer::activateItemCompareTrigger @ 0x4762de // > GJBaseGameLayer::activateItemCompareTrigger @ 0x47632e // > GJBaseGameLayer::activateItemEditTrigger @ 0x48e7a2 // > GJBaseGameLayer::activateItemEditTrigger @ 0x48e7e0 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // double GJBaseGameLayer::performMathRounding(GJBaseGameLayer *a1, double a2, int a3) { double result; // r0 result = a2; switch ( a3 ) { case 2: return j_floor(a2); case 3: return j_ceil(a2); case 1: LODWORD(result) = j_round(); break; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source